commit | aace34c0bb8ea3c8bdcec865b6a4be4db0a68e33 | [log] [tgz] |
---|---|---|
author | Tin Huynh <tnhuynh@apm.com> | Mon May 22 16:19:20 2017 +0700 |
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | Mon May 22 21:12:44 2017 +0200 |
tree | fd0199eb315f41e62ac1c56f4e6f57e55f4041cd | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 [diff] |
leds: pca955x: Correct I2C Functionality The driver checks an incorrect flag of functionality of adapter. When a driver requires i2c_smbus_read_byte_data and i2c_smbus_write_byte_data, it should check I2C_FUNC_SMBUS_BYTE_DATA instead I2C_FUNC_I2C. This patch fixes the problem. Signed-off-by: Tin Huynh <tnhuynh@apm.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>