MLK-18482: ISI: fix isi resume fail issue
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Tue, 12 Jun 2018 08:56:14 +0000 (16:56 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit5e7a2d424f5e27795d957451df78d2e328d68c96
tree2c962c3ed27b07dbd4867cf88597ccfa33a1b15f
parent940dc3d66720a5182ee585136c1a1a191b7594e3
MLK-18482: ISI: fix isi resume fail issue

Driver enable clock will fail in isi system power resume
callback because isi power domain is power off after system
power suspend so driver need to get device before disable
clock in system power suspend/resume callback and then put
device after disable clock.

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit 668fdea95ff9b4588f02a5c4285d56b90e05ccb4)
drivers/media/platform/imx8/mxc-isi-core.c