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)
return 0;
}
-static void mxc_isi_clean_registers(struct mxc_isi_dev *mxc_isi)
-{
- u32 status;
-
- status = mxc_isi_get_irq_status(mxc_isi);
- mxc_isi_clean_irq_status(mxc_isi, status);
-}
static int mxc_isi_probe(struct platform_device *pdev)
{