MLK-19957-1: ISI: clean isi status before enable interrupt
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Wed, 17 Oct 2018 02:16:08 +0000 (10:16 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitd23b296dd52bdaa40cbcf0dd31c683992c6066d5
treeb8a001e49bc35b3a9c3b65330d8bfa48c55058a5
parente476338820085445a6f06dc8bc223a78e8cffb2c
MLK-19957-1: ISI: clean isi status before enable interrupt

Because ISI can't restore to default state after software
reset, the status value of exit will be maintained. If not
cleared, ISI will triggle fake interrupt after enableing irq,
but there is not ready for data.

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