i2c: imx: Fix reset of I2SR_IAL flag
authorChristian Eggers <ceggers@arri.de>
Wed, 7 Oct 2020 08:45:22 +0000 (10:45 +0200)
committerWolfram Sang <wsa@kernel.org>
Thu, 8 Oct 2020 09:54:54 +0000 (11:54 +0200)
commitfa4d30556883f2eaab425b88ba9904865a4d00f3
treebc1ee5a69c3e3710b0cea7f540da4cb68d2ad312
parent549738f15da0e5a00275977623be199fbbf7df50
i2c: imx: Fix reset of I2SR_IAL flag

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>
Cc: stable@vger.kernel.org
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-imx.c