MLK-17047-2: drm/imx: Fix suspend/resume for nwl_dsi-imx
authorRobert Chiras <robert.chiras@nxp.com>
Fri, 8 Dec 2017 14:21:33 +0000 (16:21 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:51:04 +0000 (14:51 -0500)
commit541a8bc645182cd723fb219ef2f90824594d8764
treeae3107d711315ef0ff0f43cb87d3476a8aaf9be8
parent6c0bf8f07c98166172b66f21f9635460edb77c93
MLK-17047-2: drm/imx: Fix suspend/resume for nwl_dsi-imx

This patch addresses two issues:
1. Always request/release bus_freq, not just on suspend/resume routines
2. Check if the driver is running when doing a suspend, so that we won't
enable it by mistake on resume.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
drivers/gpu/drm/imx/nwl_dsi-imx.c