]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: twl: Really disable twl6030 PWMs
authorAxel Lin <axel.lin@ingics.com>
Wed, 9 Apr 2014 09:21:26 +0000 (17:21 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 8 May 2014 21:41:47 +0000 (23:41 +0200)
commitb58d9fb8698f66782c8732f5d722fcd5899aaf9f
tree5b0180f1ab0c05808dbabc60dceaf4ab4e4215d9
parent6c334f93b35e5eaab7930ac496b341afe40a46fc
pwm: twl: Really disable twl6030 PWMs

Current twl6030_pwm_disable() implementation writes TWL6030_TOGGLE3_REG
twice, the second write sets TWL6030_PWMXEN bits so the PWM clock does
not disable.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-twl.c