From: XieKedi Date: Fri, 11 Jan 2013 06:30:04 +0000 (+0800) Subject: fixes problem in setting bl_pwm output freq 20K X-Git-Tag: firefly_0821_release~7963 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fb04ada114618178dbb13eca1789cf33ea8c2834;p=firefly-linux-kernel-4.4.55.git fixes problem in setting bl_pwm output freq 20K last commit is 9aeb6ccfc7 --- diff --git a/arch/arm/mach-rk30/board-rk3168-ds1006h.c b/arch/arm/mach-rk30/board-rk3168-ds1006h.c index acdac9fe1de3..421e99cab20e 100644 --- a/arch/arm/mach-rk30/board-rk3168-ds1006h.c +++ b/arch/arm/mach-rk30/board-rk3168-ds1006h.c @@ -206,7 +206,7 @@ static int rk29_backlight_pwm_resume(void) static struct rk29_bl_info rk29_bl_info = { .min_brightness = 30, - .pre_div = 20 * 000, // pwm output clk: 20k; + .pre_div = 20 * 1000, // pwm output clk: 20k; .pwm_id = PWM_ID, .bl_ref = PWM_EFFECT_VALUE, .io_init = rk29_backlight_io_init,