Skip to content
Commit 9e65506c authored by Petre Rodan's avatar Petre Rodan Committed by Jonathan Cameron
Browse files

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: 713337d9 ("iio: pressure: Honeywell mprls0025pa pressure sensor")
Co-developed-by: default avatarAndreas Klinger <ak@it-klinger.de>
Signed-off-by: default avatarAndreas Klinger <ak@it-klinger.de>
Signed-off-by: default avatarPetre Rodan <petre.rodan@subdimension.ro>
Link: https://lore.kernel.org/r/20231229092445.30180-5-petre.rodan@subdimension.ro


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent f0884916
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment