]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc33a04fe92eb35c59fab4d00cf8b151d6b050d9
treebc1ee5a69c3e3710b0cea7f540da4cb68d2ad312
parent9437ce7c6c73f8d8bbd73a13f737a8ebc7d5e755
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: 1c2d07ec5944 ("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