summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorTin Huynh <tnhuynh@apm.com>2017-05-22 16:19:20 +0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-13 19:50:09 +0200
commita7147749b69ffe8b87f53104f770c796d437780b (patch)
tree4c7ac379daa0a221c6354dd5bf9ab2c1443e9f1e /security/selinux/hooks.c
parent26c8b9a5fd541b146c696b5354d966a86fd7fdac (diff)
leds: pca955x: Correct I2C Functionality
[ Upstream commit aace34c0bb8ea3c8bdcec865b6a4be4db0a68e33 ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions