pwm: lpc32xx: Don't change PWM_ENABLE bit in lpc32xx_pwm_config
commitaffb923df96d6c927f9a3dfb0e6f4be940b185cd
authorAxel Lin <axel.lin@ingics.com>
Tue, 23 Apr 2013 06:02:49 +0000 (23 14:02 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Tue, 23 Apr 2013 08:58:47 +0000 (23 10:58 +0200)
tree3f1c654c95946c04e465ab230fa5e61c30bb9dd8
parent08ee77b5a5de27ad63c92262ebcb4efe0da93b58
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