diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-08-13 15:00:41 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-08-13 15:00:41 +0200 |
commit | 4d054fbf42d98a54bdb330eebfe419af8a825118 (patch) | |
tree | 9f72fb9d8849ddb7b2d14fe054b5194483bf2657 | |
parent | 9ea23a6a53311a6f93dc905a9c2c35c34646eaa5 (diff) | |
parent | 0ad945cd2095e1fa3edf83d0f90f9b5eba28777b (diff) |
Merge branch 'vf610-dcu-4.1' into toradex_vf_4.1-next
-rw-r--r-- | drivers/video/fbdev/fsl-dcu-fb.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/fbdev/fsl-dcu-fb.c b/drivers/video/fbdev/fsl-dcu-fb.c index df40920206ec..a1da36f131f0 100644 --- a/drivers/video/fbdev/fsl-dcu-fb.c +++ b/drivers/video/fbdev/fsl-dcu-fb.c @@ -1061,9 +1061,8 @@ static int fsl_dcu_suspend(struct device *dev) fb_set_suspend(fbi, 1); console_unlock(); - disable_panel(fbi); - disable_controller(dcufb->fsl_dcu_info[0]); + disable_panel(fbi); clk_disable_unprepare(dcufb->clk); return 0; @@ -1083,14 +1082,14 @@ static int fsl_dcu_resume(struct device *dev) goto failed_bypasstcon; } - enable_controller(dcufb->fsl_dcu_info[0]); + reset_layers(dcufb); + + fsl_dcu_set_par(fbi); console_lock(); fb_set_suspend(fbi, 0); console_unlock(); - fsl_dcu_set_par(fbi); - failed_bypasstcon: return ret; } |