Searched hist:"330 e860a08a0e9a1094b8e8b5eca507ada17d462" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/pressure/ |
H A D | mprls0025pa.c | diff 330e860a08a0e9a1094b8e8b5eca507ada17d462 Fri Dec 29 03:24:32 CST 2023 Petre Rodan <petre.rodan@subdimension.ro> 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>
|