MLK-21380 video: fbdev: mxsfb: fix resume timing for overlay fb
authorFancy Fang <chen.fang@nxp.com>
Fri, 12 Apr 2019 07:42:50 +0000 (15:42 +0800)
committerFancy Fang <chen.fang@nxp.com>
Fri, 19 Apr 2019 07:46:22 +0000 (15:46 +0800)
commit526042ffcf252b2296a0f617cddba9aef24fdf1e
tree70844233fe581fbb3a85497461011e3b02bb8747
parent98a9c6698d638f4b10e84d3185d767e27fd60fe3
MLK-21380 video: fbdev: mxsfb: fix resume timing for overlay fb

The overlay fb can only be enabled when the LCDIF is not in
running, otherwise overlay display may look like image shift.
So during the system resume procedure, the overlay fb should
be resumed before mxsfb unblank.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit f39662a3a38a2da082d55a006e634766cc85e347)
drivers/video/fbdev/mxsfb.c