video: adf: fix fbdev blank -> dpms state mapping
Greg Hackmann [Fri, 22 Nov 2013 21:50:24 +0000 (13:50 -0800)]
Change-Id: I96132a1b7275d389a6d0ba8899c6be838b63c422
Signed-off-by: Greg Hackmann <ghackmann@google.com>

drivers/video/adf/adf_fbdev.c

index 477abd6..cac34d1 100644 (file)
@@ -519,10 +519,10 @@ int adf_fbdev_blank(int blank, struct fb_info *info)
                dpms_state = DRM_MODE_DPMS_STANDBY;
                break;
        case FB_BLANK_VSYNC_SUSPEND:
-               dpms_state = DRM_MODE_DPMS_STANDBY;
+               dpms_state = DRM_MODE_DPMS_SUSPEND;
                break;
        case FB_BLANK_HSYNC_SUSPEND:
-               dpms_state = DRM_MODE_DPMS_SUSPEND;
+               dpms_state = DRM_MODE_DPMS_STANDBY;
                break;
        case FB_BLANK_POWERDOWN:
                dpms_state = DRM_MODE_DPMS_OFF;