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:
68609f1
)
rk29 backlight;do not call rk29_backlight_set in suspend mode
author
yxj
<yxj@rock-chips.com>
Mon, 12 Nov 2012 06:49:51 +0000
(14:49 +0800)
committer
yxj
<yxj@rock-chips.com>
Mon, 12 Nov 2012 07:50:21 +0000
(15:50 +0800)
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 b1292464b2a90d08a4582352d1106af69bf2ea9c..6814e96022db16193a13453949448212d63ebd40 100755
(executable)
--- a/
drivers/video/backlight/rk29_backlight.c
+++ b/
drivers/video/backlight/rk29_backlight.c
@@
-228,6
+228,8
@@
EXPORT_SYMBOL(rk29_get_backlight_status);
void rk29_backlight_set(bool on)
{
+ if(suspend_flag)
+ return 0;
printk("%s: set %d\n", __func__, on);
if(on)
rk29_bl_resume(NULL);