diff options
author | 2025-01-29 12:03:04 +0100 | |
---|---|---|
committer | 2025-02-03 19:30:12 +0000 | |
commit | bead181694df16de464ca2392d0cec2cf15fb978 (patch) | |
tree | 2fa9cb28dbb79d89741bd7f00d531c7f27b088a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: iio: dac: adi-axi-adc: fix ad7606 pwm-names (diff) | |
download | wireguard-linux-bead181694df16de464ca2392d0cec2cf15fb978.tar.xz wireguard-linux-bead181694df16de464ca2392d0cec2cf15fb978.zip |
iio: adc: ad7606: fix wrong scale available
Fix wrong scale available list since only one value is returned:
...
iio:device1: ad7606b (buffer capable)
8 channels found:
voltage0: (input, index: 0, format: le:S16/16>>0)
2 channel-specific attributes found:
attr 0: scale value: 0.305176
attr 1: scale_available value: 0.076293
Fix as:
voltage0: (input, index: 0, format: le:S16/16>>0)
2 channel-specific attributes found:
attr 0: scale value: 0.305176
attr 1: scale_available value: 0.076293 0.152588 0.305176
Fixes: 97c6d857041d ("iio: adc: ad7606: rework scale-available to be static")
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250129-wip-bl-ad7606_add_backend_sw_mode-v3-3-c3aec77c0ab7@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions