]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: lpc32xx: Don't change PWM_ENABLE bit in lpc32xx_pwm_config
authorAxel Lin <axel.lin@ingics.com>
Tue, 23 Apr 2013 06:02:49 +0000 (14:02 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Tue, 23 Apr 2013 08:58:47 +0000 (10:58 +0200)
commit046e273cf4b4735fbd83fd63569c581aaf7c2cc5
tree3f1c654c95946c04e465ab230fa5e61c30bb9dd8
parent3c900e1299d829d5066e8ce611aee05bd1692b76
pwm: lpc32xx: Don't change PWM_ENABLE bit in lpc32xx_pwm_config

lpc32xx_pwm_config() is supposed to set duty_ns and period_ns,
it should not change PWM_ENABLE bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-lpc32xx.c