Re: [PATCH] i2c: dev: Check for I2C_FUNC_I2C before calling i2c_transfer

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

 



On Fri, May 31, 2024 at 11:34:07AM GMT, Jean Delvare wrote:
> It is good practice to check that the underlying adapter supports
> I2C transfers before attempting them. The i2c core would eventually
> return an error, but it's more efficient to fail early.
> 
> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>

Applied to for-next, thanks!

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