Files
Matti Vaittinen b0e951ffc5 iio: pressure: rohm-bm1390: Return error when read fails
The data reading function ignores the cached error value, and
unconditionally returns 0. Return cached 'ret' -value after stopping
the measurement so user knows if read failed and data is garbage.

Fixes: 534674463a ("iio: bm1390: simplify using guard(mutex)")
Signed-off-by: Matti Vaittinen <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
2026-08-31 00:52:41 +01:00
..
…
…
…
…
2026-07-06 16:59:47 +01:00
…
2026-07-06 16:59:47 +01:00
…