summaryrefslogtreecommitdiffstats
path: root/drivers/video/da8xx-fb.c
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2012-07-06 16:01:28 +0200
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-07-29 00:59:31 +0000
commit99a647d1f17375a803528aaab303518958a7e17a (patch)
tree27098eed14d46fefa22c1c72506c6cbefeead17b /drivers/video/da8xx-fb.c
parentd9053b487965042b9c849ce40c7f1fb7a0b84b39 (diff)
downloadlinux-99a647d1f17375a803528aaab303518958a7e17a.tar.bz2
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>
Diffstat (limited to 'drivers/video/da8xx-fb.c')
-rw-r--r--drivers/video/da8xx-fb.c3
1 files changed, 3 insertions, 0 deletions
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);