diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-06-11 08:51:49 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-06-11 08:51:49 +0200 |
commit | e4c61c14cbbaf989ab7d911d68e596f9d98d94d7 (patch) | |
tree | 19316cbdb8e5dae3ebccbbed23ad492d71ba7f5d | |
parent | cd586e4cf9dcc8b476311ab42caf74a5e67a53ec (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.c | 2 |
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 7047c73d91a5..bb802c9c2e9a 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; } |