diff options
author | Tin Huynh <tnhuynh@apm.com> | 2017-05-22 11:19:20 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-05-22 21:12:44 +0200 |
commit | aace34c0bb8ea3c8bdcec865b6a4be4db0a68e33 (patch) | |
tree | fd0199eb315f41e62ac1c56f4e6f57e55f4041cd /mm/memory-failure.c | |
parent | Linux 4.12-rc1 (diff) | |
download | linux-aace34c0bb8ea3c8bdcec865b6a4be4db0a68e33.tar.xz linux-aace34c0bb8ea3c8bdcec865b6a4be4db0a68e33.zip |
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 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions