MLK-14630 video: mipi_dsi_northwest: refine suspend logic
authorFancy Fang <chen.fang@nxp.com>
Thu, 6 Apr 2017 06:09:44 +0000 (14:09 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:52 +0000 (15:21 -0500)
commit0a55c6424225ad70e931c504456ffbf02deb3ac5
treeb3ea90f45430addf02d59ea50e4c1bb13da38b56
parentb16210d7d2625ff698d77f5023555292d38f2b5e
MLK-14630 video: mipi_dsi_northwest: refine suspend logic

Move the 'lcd_inited' flag status modification from
'mipi_dsi_disable' to 'mipi_dsi_suspend' to make sure
this flag to be set to 0 during system suspend.

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