[PATCH v3] i2c: aspeed: Update the stop sw state when the bus recovery occurs

Andi Shyti andi.shyti at kernel.org
Thu Sep 12 01:57:04 AEST 2024


Hi Tommy,

On Wed, Sep 11, 2024 at 05:39:51PM GMT, Tommy Huang wrote:
> When the i2c bus recovery occurs, driver will send i2c stop command
> in the scl low condition. In this case the sw state will still keep
> original situation. Under multi-master usage, i2c bus recovery will
> be called when i2c transfer timeout occurs. Update the stop command
> calling with aspeed_i2c_do_stop function to update master_state.
> 
> Fixes: f327c686d3ba ("i2c: aspeed: added driver for Aspeed I2C")
> 
> Cc: <stable at vger.kernel.org> # v4.13+
> Signed-off-by: Tommy Huang <tommy_huang at aspeedtech.com>

merged to i2c/i2c-host-fixes.

Thanks,
Andi


More information about the openbmc mailing list