mirror of https://gitee.com/openkylin/linux.git
da8xx-fb: add missing FB_BLANK operations
add FB_BLANK_NORMAL, FB_BLANK_VSYNC_SUSPEND and FB_BLANK_HSYNC_SUSPEND modes (copy drivers/video/omap2/omapfb/omapfb-main.c implementation). Otherwise X-server will complain about invalid parameter. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
parent
d9053b4879
commit
99a647d1f1
|
@ -1027,6 +1027,9 @@ static int cfb_blank(int blank, struct fb_info *info)
|
||||||
|
|
||||||
lcd_enable_raster();
|
lcd_enable_raster();
|
||||||
break;
|
break;
|
||||||
|
case FB_BLANK_NORMAL:
|
||||||
|
case FB_BLANK_VSYNC_SUSPEND:
|
||||||
|
case FB_BLANK_HSYNC_SUSPEND:
|
||||||
case FB_BLANK_POWERDOWN:
|
case FB_BLANK_POWERDOWN:
|
||||||
if (par->panel_power_ctrl)
|
if (par->panel_power_ctrl)
|
||||||
par->panel_power_ctrl(0);
|
par->panel_power_ctrl(0);
|
||||||
|
|
Loading…
Reference in New Issue