diff options
| author | Petre Rodan <petre.rodan@subdimension.ro> | 2023-12-29 11:24:32 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-01-23 22:06:29 +0000 |
| commit | 9e65506ca9c7ff716c8441a33417820ad61d3a16 (patch) | |
| tree | 2876457dd67a601be3b0c81a27a8e783238bf26a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | dt-bindings: iio: pressure: honeywell,mprls0025pa.yaml add spi bus (diff) | |
| download | linux-9e65506ca9c7ff716c8441a33417820ad61d3a16.tar.gz linux-9e65506ca9c7ff716c8441a33417820ad61d3a16.zip | |
iio: pressure: mprls0025pa fix off-by-one enum
Fix off-by-one error in transfer-function property.
The honeywell,transfer-function property takes values between 1-3 so
make sure the proper enum gets used.
Fixes: 713337d9143ed ("iio: pressure: Honeywell mprls0025pa pressure sensor")
Co-developed-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Link: https://lore.kernel.org/r/20231229092445.30180-5-petre.rodan@subdimension.ro
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
