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)
commit5c9540e71241a183a50f58ef91e2009ef3db9d8c
treefc04edbfdb60b127e5603e235e90e45595501c0a
parent5e7a2d424f5e27795d957451df78d2e328d68c96
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.c