Revert "avoid initialize backlight twice"
authoreddie <cf@rock-chips.com>
Mon, 22 Aug 2011 06:47:00 +0000 (14:47 +0800)
committereddie <cf@rock-chips.com>
Mon, 22 Aug 2011 06:47:00 +0000 (14:47 +0800)
This reverts commit cab3775e0f6565184b459fa3f20f655f036968be.

drivers/video/backlight/rk29_backlight.c

index b7d664235b58da8794b3cd3cd3d7cc00eee6f972..21d0d8782bf974fcfa17f5cf83dbfe6d6c3edd6c 100755 (executable)
@@ -208,7 +208,7 @@ static int rk29_backlight_probe(struct platform_device *pdev)
        clk_enable(pwm_clk);
        write_pwm_reg(id, PWM_REG_CTRL, PWM_DIV|PWM_RESET);
        write_pwm_reg(id, PWM_REG_LRC, div_total);
-       //write_pwm_reg(id, PWM_REG_HRC, divh);
+       write_pwm_reg(id, PWM_REG_HRC, divh);
        write_pwm_reg(id, PWM_REG_CNTR, 0x0);
        write_pwm_reg(id, PWM_REG_CTRL, PWM_DIV|PWM_ENABLE|PWM_TIME_EN);