]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
da8xx-fb: add missing FB_BLANK operations
authorYegor Yefremov <yegorslists@googlemail.com>
Fri, 6 Jul 2012 14:01:28 +0000 (16:01 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 29 Jul 2012 00:59:31 +0000 (00:59 +0000)
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>
drivers/video/da8xx-fb.c

index 2f24c19d7d08f8b32ed662c5a5459a51a4ed241d..034e182a29f768f396f8d65e83c4dcbd36e426d5 100644 (file)
@@ -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);