summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2022-12-19 21:16:08 +0300
committerWolfram Sang <wsa@kernel.org>2023-02-13 00:10:53 +0300
commiteb4d8bac03bc20c5f2975da325e2d669882ef03e (patch)
treebb9412073eb92941575453a916bf5bcf9f0d038f /Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml
parente98a3bc0403bc60e949b565f3b36c6aed399a976 (diff)
downloadlinux-eb4d8bac03bc20c5f2975da325e2d669882ef03e.tar.xz
i2c: i801: add helper i801_set_hstadd()
Factor out setting SMBHSTADD to a helper. The current code makes the assumption that constant I2C_SMBUS_READ has bit 0 set, that's not ideal. Therefore let the new helper explicitly check for I2C_SMBUS_READ. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml')
0 files changed, 0 insertions, 0 deletions