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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit1ebb9a90b4531707555c5a6f48929f08f8e94d01
treec761f02a42d5cea88dd96bb628337a631d995223
parent9337c185b28341c052ee127328019680d8ea8c17
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