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:
7d79b8d
)
rk3188 ds1006h: fix brightness
author
wuhao
<wuhao@wuhao@rock-chips.com>
Wed, 30 Jan 2013 02:24:21 +0000
(10:24 +0800)
committer
wuhao
<wuhao@wuhao@rock-chips.com>
Wed, 30 Jan 2013 02:24:21 +0000
(10:24 +0800)
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c
b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c
index d8fe65543d239a045c9865f4fe767265acb16f55..cc89824ad576c471012b90babc96a664045a5d81 100755
(executable)
--- a/
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
+++ b/
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
@@
-199,8
+199,10
@@
static int rk29_backlight_pwm_resume(void)
}
static struct rk29_bl_info rk29_bl_info = {
- .min_brightness = 30,
- .pre_div = 20 * 1000, // pwm output clk: 20k;
+ .min_brightness = 65,
+ .max_brightness = 100,
+ .brightness_mode =BRIGHTNESS_MODE_CONIC,
+ .pre_div = 40 * 1000, // pwm output clk: 40k;
.pwm_id = PWM_ID,
.bl_ref = PWM_EFFECT_VALUE,
.io_init = rk29_backlight_io_init,