summaryrefslogtreecommitdiffstats
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 02:59:31 +0200
commit99a647d1f17375a803528aaab303518958a7e17a (patch)
tree27098eed14d46fefa22c1c72506c6cbefeead17b
parentMerge branch 'for-florian' of git://gitorious.org/linux-omap-dss2/linux into ... (diff)
downloadlinux-99a647d1f17375a803528aaab303518958a7e17a.tar.xz
linux-99a647d1f17375a803528aaab303518958a7e17a.zip
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>
-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);