drm/exynos: STANDBY should turn the panel off.
authorStéphane Marchesin <marcheu@chromium.org>
Tue, 9 Oct 2012 02:41:28 +0000 (19:41 -0700)
committerGerrit <chrome-bot@google.com>
Tue, 9 Oct 2012 06:05:42 +0000 (23:05 -0700)
BUG=none
TEST=by hand: compiles, runs, try suspend/resume

Change-Id: I6e25995a923ec39df035a12e31ee5e7090351a9d
Reviewed-on: https://gerrit.chromium.org/gerrit/34977
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: John Sheu <sheu@chromium.org>
Commit-Ready: Stéphane Marchesin <marcheu@chromium.org>

drivers/gpu/drm/exynos/exynos_drm_fimd.c

index f2b18ae..1a45e5a 100644 (file)
@@ -156,9 +156,9 @@ static int fimd_display_power_on(struct device *dev, int mode)
 
        switch (mode) {
        case DRM_MODE_DPMS_ON:
-       case DRM_MODE_DPMS_STANDBY:
                enable = true;
                break;
+       case DRM_MODE_DPMS_STANDBY:
        case DRM_MODE_DPMS_SUSPEND:
        case DRM_MODE_DPMS_OFF:
                enable = false;