Petre Rodan
330e860a08
iio: pressure: mprls0025pa fix off-by-one enum
...
[ Upstream commit 9e65506ca9c7ff716c8441a33417820ad61d3a16 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:20:04 -04:00
..
2023-05-21 18:54:53 +01:00
2023-09-11 20:12:59 +01:00
2023-05-21 18:54:53 +01:00
2023-03-11 12:18:29 +00:00
2024-02-23 09:25:07 +01:00
2023-03-11 12:18:29 +00:00
2022-07-18 18:29:13 +01:00
2023-05-21 18:54:53 +01:00
2023-10-05 18:06:45 +01:00
2021-08-09 20:17:36 +01:00
2023-05-21 18:54:53 +01:00
2023-05-21 18:54:53 +01:00
2023-05-21 18:54:53 +01:00
2023-05-21 18:54:58 +01:00
2023-05-21 18:54:58 +01:00
2023-05-21 18:54:53 +01:00
2022-11-23 19:44:00 +00:00
2022-11-23 19:44:00 +00:00
2022-11-23 19:44:00 +00:00
2023-05-21 18:54:53 +01:00
2024-03-26 18:20:04 -04:00
2023-10-05 18:06:46 +01:00
2023-05-21 18:54:53 +01:00
2022-12-28 17:19:45 +00:00
2022-12-28 17:19:45 +00:00
2023-05-21 18:54:53 +01:00
2022-02-18 11:36:54 +00:00
2022-09-21 18:42:53 +01:00
2023-05-21 18:54:53 +01:00
2022-09-21 18:42:53 +01:00
2022-09-21 18:42:53 +01:00
2023-05-21 18:54:53 +01:00
2023-05-21 18:54:53 +01:00
2022-03-28 12:27:35 -07:00
2023-03-11 12:18:29 +00:00