diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2024-11-05 20:58:39 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-11-13 00:54:39 +0300 |
commit | 7a750b3986b7910711a5525dde0c84b541e72746 (patch) | |
tree | df7ef1f7b865389b741dbd6dbbd946379903ac3e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 544177f20be2eebc7dd2a55feaf186ac68acc22d (diff) | |
download | linux-7a750b3986b7910711a5525dde0c84b541e72746.tar.xz |
hwmon: (pmbus/core) allow drivers to override WRITE_PROTECT
Use _pmbus_read_byte_data() rather than calling smbus directly to check
the write protection status. This give a chance to device implementing
write protection differently to report back on the actual write protection
status.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Message-ID: <20241105-tps25990-v4-2-0e312ac70b62@baylibre.com>
[groeck: Fix page parameter of _pmbus_read_byte_data()]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions