diff options
author | Tin Huynh <tnhuynh@apm.com> | 2017-05-22 12:19:20 +0300 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-05-22 22:12:44 +0300 |
commit | aace34c0bb8ea3c8bdcec865b6a4be4db0a68e33 (patch) | |
tree | fd0199eb315f41e62ac1c56f4e6f57e55f4041cd /lib/test_parman.c | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) | |
download | linux-aace34c0bb8ea3c8bdcec865b6a4be4db0a68e33.tar.xz |
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 'lib/test_parman.c')
0 files changed, 0 insertions, 0 deletions