diff options
author | Petre Rodan <petre.rodan@subdimension.ro> | 2023-12-29 12:24:34 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-01-24 01:06:53 +0300 |
commit | b586b40e1952a343ae68142d16512f39596ca71b (patch) | |
tree | f337ba72ed6298a69eb10051a8fb1b9e04148d97 /scripts | |
parent | 0a0fb0e63e5178905e9fdba8195686b4e2de26c4 (diff) | |
download | linux-b586b40e1952a343ae68142d16512f39596ca71b.tar.xz |
iio: pressure: mprls0025pa remove defaults
This driver supports 32*3 combinations of fixed ranges and transfer
functions, plus custom ranges.
So statistically a user has more than 99% chance that the provided
default configuration will generate invalid pressure readings if the
bindings are not initialized and the driver is instantiated via sysfs.
The current patch removes this loophole making sure the driver loads
only if the firmware properties are present.
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-7-petre.rodan@subdimension.ro
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions