summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatherine Lu <katherine.lu@freescale.com>2009-12-05 20:45:10 +0800
committerLily Zhang <r58066@freescale.com>2009-12-05 20:47:35 +0800
commit4e987d95d9b48e7cda7f3b7648be3e6d428bb07c (patch)
tree8def824321298c7e16010f5c7b7f26f8542a9240
parentbce3f3b03fabf980d61bfe5505b9f00545adb01a (diff)
ENGR00119022 MX51: fix PWM backlight blink
fix PWM backlight blink Signed-off-by: Katherine Lu <katherine.lu@freescale.com>
-rw-r--r--arch/arm/plat-mxc/pwm.c2
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,