Andy, On Wed, Sep 11, 2024 at 04:39:45PM GMT, Kimriver Liu wrote: > It was observed that issuing ABORT bit (IC_ENABLE[1]) will not > work when IC_ENABLE is already disabled. > > Check if ENABLE bit (IC_ENABLE[0]) is disabled when the controller > is holding SCL low. If ENABLE bit is disabled, the software need > to enable it before trying to issue ABORT bit. otherwise, > the controller ignores any write to ABORT bit. > > These kernel logs show up whenever an I2C transaction is > attempted after this failure. > i2c_designware e95e0000.i2c: timeout waiting for bus ready > i2c_designware e95e0000.i2c: timeout in disabling adapter > > The patch can be fix the controller cannot be disabled while > SCL is held low in ENABLE bit is already disabled. > > Fixes: 2409205acd3c ("i2c: designware: fix __i2c_dw_disable() in case master is holding SCL low") > Signed-off-by: Kimriver Liu <kimriver.liu@xxxxxxxxxxxx> > Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx> if you're happe, I would take this in. Thanks Kimriver for following up on all the reviews, I really appreciate your responsivness. Andi