MLK-12142 video: fbdev: mxc_ipuv3_fb: Set non-zero blank to FB_BLANK_POWERDOWN
authorLiu Ying <victor.liu@nxp.com>
Mon, 11 Jan 2016 02:51:21 +0000 (10:51 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:42 +0000 (14:49 -0500)
commitb20430ea36efb0d76222dcfd05ce78b4eb414006
treebb39fb74849f3aaf61af29bf0099854f77ac398e
parent7c9bd4dad895c598a9bcf0c6ba013e9a483da882
MLK-12142 video: fbdev: mxc_ipuv3_fb: Set non-zero blank to FB_BLANK_POWERDOWN

We have implemented only two states for blank which are FB_BLANK_UNBLANK and
FB_BLANK_POWERDOWN.  Let's map all the other blank states(FB_BLANK_NORMAL,
FB_BLANK_VSYNC_SUSPEND and FB_BLANK_HSYNC_SUSPEND) to FB_BLANK_POWERDOWN,
since all of them make the screen be blanked.  This may avoid blanking a blanked
screen by setting the state to different non-zero values.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/video/fbdev/mxc/mxc_ipuv3_fb.c