提交 8472b529 编写于 作者: A Axel Lin 提交者: Thierry Reding

pwm: stmpe: Fix wrong register offset for hwpwm=2 case

Fix trivial copy/paste bug.
Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
Fixes: ef1f09ec ("pwm: Add a driver for the STMPE PWM")
Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
上级 7e5d1fd7
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册