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)
commit9c88669c2cfc91158f157b5584103ff7e5b6bedb
tree5b0180f1ab0c05808dbabc60dceaf4ab4e4215d9
parent89c0339e0aa097384b3efed894b23820814c21d3
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