aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx.c
diff options
context:
space:
mode:
authorAlban Bedel <[email protected]>2012-11-14 11:58:14 +0000
committerThierry Reding <[email protected]>2012-12-06 07:52:11 +0000
commit54b2a999a167510aa6eb54f49ef21a40946c88ba (patch)
treec59e98ae4587f541e8e63ee6144ba0e4f5b70214 /drivers/pwm/pwm-imx.c
parentpwm: lpc32xx: Fix the PWM polarity (diff)
downloadkernel-54b2a999a167510aa6eb54f49ef21a40946c88ba.tar.gz
kernel-54b2a999a167510aa6eb54f49ef21a40946c88ba.zip
pwm: lpc32xx: Properly disable the clock on device removal
A single clock is used for all PWMs meaning the clock's reference count might be between 0 and N when .remove() is called. Instead of a single clk_disable() call pwm_disable() on each PWM, to ensure that clk_disable() is called for each PWM that is still enabled. Signed-off-by: Alban Bedel <[email protected]> Acked-by: Alexandre Pereira da Silva <[email protected]> Acked-by: Roland Stigge <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions