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)
commit3d2e5989940e2c80d0965cce50d208a269da8f3b
tree40f9ad6bdca2300b0c4706f606d73bfb1a8df8ce
parent3475b7f912fd3e06be55d32a3269c2d47d8ad426
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