diff options
author | Tin Huynh <tnhuynh@apm.com> | 2017-05-22 16:19:20 +0700 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-05-22 21:12:44 +0200 |
commit | aace34c0bb8ea3c8bdcec865b6a4be4db0a68e33 (patch) | |
tree | fd0199eb315f41e62ac1c56f4e6f57e55f4041cd /drivers/mfd/tps65912-i2c.c | |
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>
Diffstat (limited to 'drivers/mfd/tps65912-i2c.c')
0 files changed, 0 insertions, 0 deletions