Re: [PATCH] i2c-algo-bit: Added the bus lock during a i2c transaction

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

 



Hi,

On Tue, Feb 25, 2025 at 05:03:14PM +0530, Anindya Sundar Gayen wrote:
> Earlier i2c-bus lock was not available to i2c-algo-bit driver
> for that reason if there are back to back i2c transaction occurs
> it may be possible to occur a race condition.
> 
> To avoid the race condition we added a mutex lock mechanism which will
> help to protect the i2c_outb()with a proper lock.

what is the issue you are trying to fix? Can you refer to a
practical failure you received?

Thanks,
Andi




[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