]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: imx: Fix reset of I2SR_IAL flag
authorChristian Eggers <ceggers@arri.de>
Fri, 9 Oct 2020 11:03:18 +0000 (13:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Dec 2020 12:36:45 +0000 (13:36 +0100)
commitf8927031e07b904aa775dadecaa732e8b3bd809e
treec9f62871dfbddc163f55e593c7402492d4f99f69
parent87a3af64297a144ee9ab160cd55cfb90ef56305a
i2c: imx: Fix reset of I2SR_IAL flag

commit 384a9565f70a876c2e78e58c5ca0bbf0547e4f6d upstream.

According to the "VFxxx Controller Reference Manual" (and the comment
block starting at line 97), Vybrid requires writing a one for clearing
an interrupt flag. Syncing the method for clearing I2SR_IIF in
i2c_imx_isr().

Signed-off-by: Christian Eggers <ceggers@arri.de>
Fixes: 4b775022f6fd ("i2c: imx: add struct to hold more configurable quirks")
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-imx.c