diff options
author | Heiner Kallweit <[email protected]> | 2022-12-19 19:16:08 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2023-02-12 22:10:53 +0100 |
commit | eb4d8bac03bc20c5f2975da325e2d669882ef03e (patch) | |
tree | bb9412073eb92941575453a916bf5bcf9f0d038f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e98a3bc0403bc60e949b565f3b36c6aed399a976 (diff) |
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 <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions