Home Home > GIT Browse > openSUSE-15.0
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-07-10 15:45:06 +0200
committerTakashi Iwai <tiwai@suse.de>2018-07-10 15:45:11 +0200
commitef78980574dc515ad9d3f1b6f944b7b21a9becce (patch)
tree66038fec2b7658c334a8f1c3814dadf054e63f38
parent57cc61c691a7e0404602594166f33d5eccc355ef (diff)
pwm: stmpe: Fix wrong register offset for hwpwm=2 case
(bsc#1051510). suse-commit: 4e185589e9075bb5162bc46751a254bb1d104f50
-rw-r--r--drivers/pwm/pwm-stmpe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-stmpe.c b/drivers/pwm/pwm-stmpe.c
index e464582a390a..3439f1e902cb 100644
--- a/drivers/pwm/pwm-stmpe.c
+++ b/drivers/pwm/pwm-stmpe.c
@@ -145,7 +145,7 @@ static int stmpe_24xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
break;
case 2:
- offset = STMPE24XX_PWMIC1;
+ offset = STMPE24XX_PWMIC2;
break;
default: