]> 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:25:02 +0000 (13:25 +0100)
commit7d4904a1a2523cd2e5ee98c52f09a2fb048ae7b7
tree88e3367585797f59ebcb5667d7105b8edaefaa97
parent6bb78b3fff90fcf76991f689822ae58a4feee36d
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