summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorErik Schumacher <erik.schumacher@iris-sensing.com>2025-02-24 12:19:04 +0300
committerGuenter Roeck <linux@roeck-us.net>2025-03-02 19:42:01 +0300
commite278d5e8aef4c0a1d9a9fa8b8910d713a89aa800 (patch)
treee313f9e81f2e0f031e5d0fed75ee555bbf13622c /tools/perf/scripts/python/export-to-sqlite.py
parent1c7932d5ae0f5c22fa52ac811b4c427bbca5aff5 (diff)
downloadlinux-e278d5e8aef4c0a1d9a9fa8b8910d713a89aa800.tar.xz
hwmon: (ad7314) Validate leading zero bits and return error
Leading zero bits are sent on the bus before the temperature value is transmitted. If any of these bits are high, the connection might be unstable or there could be no AD7314 / ADT730x (or compatible) at all. Return -EIO in that case. Signed-off-by: Erik Schumacher <erik.schumacher@iris-sensing.com> Fixes: 4f3a659581cab ("hwmon: AD7314 driver (ported from IIO)") Link: https://lore.kernel.org/r/24a50c2981a318580aca8f50d23be7987b69ea00.camel@iris-sensing.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions