projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9421cc
)
Revert "avoid initialize backlight twice"
author
eddie
<cf@rock-chips.com>
Mon, 22 Aug 2011 06:47:00 +0000
(14:47 +0800)
committer
eddie
<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
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/rk29_backlight.c
b/drivers/video/backlight/rk29_backlight.c
index b7d664235b58da8794b3cd3cd3d7cc00eee6f972..21d0d8782bf974fcfa17f5cf83dbfe6d6c3edd6c 100755
(executable)
--- a/
drivers/video/backlight/rk29_backlight.c
+++ b/
drivers/video/backlight/rk29_backlight.c
@@
-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);