Small fix in the PCF8591 driver

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

 



> Please find attached a patch to fix a small bug in pcf8591.c: the
> function i2c_func_smbus_write_byte_data() was used without checking
> for it before.

You check for I2C_FUNC_SMBUS_BYTE_DATA while I believe you really only
need I2C_FUNC_SMBUS_WRITE_BYTE_DATA. Or am I missing something?

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux