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:
291fb83
)
rkfb: stanby the screen ,then power off
author
yxj
<yxj@rock-chips.com>
Wed, 29 Aug 2012 06:39:53 +0000
(14:39 +0800)
committer
yxj
<yxj@rock-chips.com>
Wed, 29 Aug 2012 07:45:27 +0000
(15:45 +0800)
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index e11b731aa26fb8133431c07e90ecd25c467275da..f25d6a1154225d60a870ec8a4bfa3436eb908288 100644
(file)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-1131,11
+1131,10
@@
static void rkfb_early_suspend(struct early_suspend *h)
{
if (!inf->lcdc_dev_drv[i])
continue;
- if(inf->lcdc_dev_drv[i]->screen_ctr_info->io_disable)
- inf->lcdc_dev_drv[i]->screen_ctr_info->io_disable();
if(inf->lcdc_dev_drv[i]->screen0->standby)
inf->lcdc_dev_drv[i]->screen0->standby(1);
-
+ if(inf->lcdc_dev_drv[i]->screen_ctr_info->io_disable)
+ inf->lcdc_dev_drv[i]->screen_ctr_info->io_disable();
inf->lcdc_dev_drv[i]->suspend(inf->lcdc_dev_drv[i]);
}
}