mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
rk29 backlight;do not call rk29_backlight_set in suspend mode
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user