MLK-18517-1: ISI: fix system reboot stress test from nfs fail
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Thu, 28 Jun 2018 01:47:54 +0000 (09:47 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit1c4e468f19d940752656b6dd79cadf0427ac16ea
tree1fd0f85b8180177620bb1220e02d16deb359721a
parentdf65ee332a2bf2d8d84fc13b2625e320fbb462da
MLK-18517-1: ISI: fix system reboot stress test from nfs fail

1. System will dump painc message and hang when do system
reboot stress test. It caused by ISI HW reset function. When
user open the video device, it will get the device and driver
will turn on ISI power domain, but after that, ISI HW reset
will first turn off and then turn on it's power. During this
time, the process which open ISI channel 0 maybe sleep and
the other process which open other ISI channel will active but
the other channel power domain depend on channel 0. It leads to
system panic. So change msleep to udelay and move HW reset to
other place.

2. Refine ISI system and runtime suspend/resume.

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
drivers/media/platform/imx8/mxc-isi-core.h