Messages in this thread | | | Date | Mon, 5 Oct 2020 10:05:41 +0200 | From | Krzysztof Kozlowski <> | Subject | Re: [PATCH v2 1/3] i2c: imx: Fix reset of I2SR_IAL flag |
| |
On Fri, Oct 02, 2020 at 05:23:03PM +0200, Christian Eggers wrote: > 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> > Cc: stable@vger.kernel.org > --- > drivers/i2c/busses/i2c-imx.c | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-)
Tested (not extensively) on Vybrid VF500 (Toradex VF50): Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
The I2C on Vybrid VF500 still works fine. I did not test this actual condition (arbitration) but only a regular I2C driver (BQ27xxx fuel gauge).
Best regards, Krzysztof
| |