diff options
author | Katherine Lu <katherine.lu@freescale.com> | 2009-12-05 20:45:10 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-02-12 17:19:43 +0100 |
commit | 7c489725a164385bc6065efcee8cb1530fd6913f (patch) | |
tree | 8def824321298c7e16010f5c7b7f26f8542a9240 /arch/arm/plat-mxc/pwm.c | |
parent | 0664e734593fc2f16a557bbcbd0fc67608ac8fa5 (diff) |
ENGR00119022 MX51: fix PWM backlight blink
fix PWM backlight blink
Signed-off-by: Katherine Lu <katherine.lu@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/pwm.c')
-rw-r--r-- | arch/arm/plat-mxc/pwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/pwm.c b/arch/arm/plat-mxc/pwm.c index 1c663acd89fa..bc240e0c2096 100644 --- a/arch/arm/plat-mxc/pwm.c +++ b/arch/arm/plat-mxc/pwm.c @@ -78,7 +78,7 @@ int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) writel(duty_cycles, pwm->mmio_base + MX3_PWMSAR); writel(period_cycles, pwm->mmio_base + MX3_PWMPR); - writel(MX3_PWMCR_PRESCALER(prescale - 1) | + writel(MX3_PWMCR_PRESCALER(prescale) | MX3_PWMCR_CLKSRC_IPG_HIGH | MX3_PWMCR_STOPEN | MX3_PWMCR_DOZEEN | MX3_PWMCR_WAITEN | MX3_PWMCR_DBGEN, |