From 441971c6e30008b85598568a4c817a9454239e80 Mon Sep 17 00:00:00 2001 From: yxj Date: Mon, 12 Nov 2012 14:49:51 +0800 Subject: [PATCH] =?utf8?q?rk29=20backlight=EF=BC=9Bdo=20not=20call=20rk29?= =?utf8?q?=5Fbacklight=5Fset=20in=20suspend=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- drivers/video/backlight/rk29_backlight.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/backlight/rk29_backlight.c b/drivers/video/backlight/rk29_backlight.c index b1292464b2a9..6814e96022db 100755 --- 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); -- 2.34.1