summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-06-11 08:51:49 +0200
committerStefan Agner <stefan.agner@toradex.com>2015-06-11 08:51:49 +0200
commite4c61c14cbbaf989ab7d911d68e596f9d98d94d7 (patch)
tree19316cbdb8e5dae3ebccbbed23ad492d71ba7f5d
parentcd586e4cf9dcc8b476311ab42caf74a5e67a53ec (diff)
video: fsl-dcu-fb: fix FB blank powerdown mode
Powerdown mode has not been applied since disable_controller does not initiate a register transfer by itself. Also disable the panel in this case. We can safely nable the controller unconditionally on FB blank normal.
-rw-r--r--drivers/video/fbdev/fsl-dcu-fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/fsl-dcu-fb.c b/drivers/video/fbdev/fsl-dcu-fb.c
index 7047c73..bb802c9 100644
--- a/drivers/video/fbdev/fsl-dcu-fb.c
+++ b/drivers/video/fbdev/fsl-dcu-fb.c
@@ -666,8 +666,10 @@ static int fsl_dcu_blank(int blank_mode, struct fb_info *info)
break;
case FB_BLANK_POWERDOWN:
disable_controller(info);
+ disable_panel(info);
break;
case FB_BLANK_UNBLANK:
+ enable_controller(info);
enable_panel(info);
break;
}