Re: [PATCH 2/2] drivers/i2c/i2c-imx.c: improve i2c bus error recovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 27, 2016 at 04:44:43PM +0800, ying.zhang22455@xxxxxxx wrote:
> From: Ying Zhang <b40530@xxxxxxxxxxxxx>
> 
> When a system reset does not cause all I2C devices to be reset, slave can
> hold bus low to cause bus hang.
> It is necessary to force the I2C module to become the I2C bus master out
> of reset and drive SCL.
> 
> The patch fixup the bus if a hang has been detected.
> 
> Signed-off-by: Ying Zhang <b40530@xxxxxxxxxxxxx>

Can't you make use of the generic recovery infrastructure using struct
i2c_bus_recovery_info?

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux