Re: [PATCH v4 4/4] i2c: designware: Handle active target cleanly
From: Andy Shevchenko
Date: Fri May 08 2026 - 06:06:44 EST
On Thu, May 07, 2026 at 08:05:18PM +0000, William A. Kennington III wrote:
> When the I2C controller attempts a new transaction while the target
> controller is shutting down or restarting, it can lead to bus lockups
> and system bootloops if the hardware enters an inconsistent state.
>
> Address this by ensuring that the internal state machines are properly
> cleared when disabling the controller if target activity is detected.
>
> If the controller remains active after disabling, perform a bus recovery
> to reset it to a known good state.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko