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:
0f58bab
)
rk3168_86v: add maxbrightness restriction
author
hjc
<hjc@rock-chips.com>
Mon, 25 Feb 2013 01:11:24 +0000
(09:11 +0800)
committer
hjc
<hjc@rock-chips.com>
Mon, 25 Feb 2013 01:11:24 +0000
(09:11 +0800)
arch/arm/mach-rk30/board-rk3168-86v.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk3168-86v.c
b/arch/arm/mach-rk30/board-rk3168-86v.c
index dfe682afe9f068dac20d84077a05be975a71d70e..02946cb6e9c4f5c8aaef2f544e98ac866901f445 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk3168-86v.c
+++ b/
arch/arm/mach-rk30/board-rk3168-86v.c
@@
-278,6
+278,8
@@
static int rk29_backlight_pwm_resume(void)
static struct rk29_bl_info rk29_bl_info = {
.min_brightness = 30,
+ .max_brightness=255,
+ .brightness_mode =1,
.pre_div = 20 * 1000, // pwm output clk: 20k;
.pwm_id = PWM_ID,
.bl_ref = PWM_EFFECT_VALUE,