From 99a647d1f17375a803528aaab303518958a7e17a Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Fri, 6 Jul 2012 16:01:28 +0200 Subject: [PATCH] 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 Signed-off-by: Florian Tobias Schandinat --- drivers/video/da8xx-fb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 2f24c19d7d08..034e182a29f7 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -1027,6 +1027,9 @@ static int cfb_blank(int blank, struct fb_info *info) lcd_enable_raster(); break; + case FB_BLANK_NORMAL: + case FB_BLANK_VSYNC_SUSPEND: + case FB_BLANK_HSYNC_SUSPEND: case FB_BLANK_POWERDOWN: if (par->panel_power_ctrl) par->panel_power_ctrl(0);