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)
commit42113100a04ab259d07a65458d9969a3bbca079f
tree0beadece37e6d1fb352c18d18dfcfb8b89b9f714
parentddb768a0fee91724d07a32f9dc3a881d9e1a845a
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-hw.c