lkml.org 
[lkml]   [2020]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2020-10-05 10:06    [W:4.206 / U:0.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site