projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5d1fd
)
pwm: stmpe: Fix wrong register offset for hwpwm=2 case
author
Axel Lin
<axel.lin@ingics.com>
Tue, 7 Nov 2017 05:18:53 +0000
(13:18 +0800)
committer
Thierry Reding
<thierry.reding@gmail.com>
Tue, 5 Dec 2017 08:33:05 +0000
(09:33 +0100)
Fix trivial copy/paste bug.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Fixes:
ef1f09eca74a
("pwm: Add a driver for the STMPE PWM")
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-stmpe.c
patch
|
blob
|
history
diff --git
a/drivers/pwm/pwm-stmpe.c
b/drivers/pwm/pwm-stmpe.c
index
e464582
..
3439f1e
100644
(file)
--- 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_PWMIC
1
;
+ offset = STMPE24XX_PWMIC
2
;
break;
default: