diff options
| author | Petre Rodan <petre.rodan@subdimension.ro> | 2026-01-14 18:55:40 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-01-16 17:40:41 +0000 |
| commit | 84e15e1a6e103e5b57852d90ac686d7f0d0d8b0a (patch) | |
| tree | f76d34f63f8d15399237d961d745ddc55d6aca9d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4edab7b08783f06679de0d24318d92ffc1dfd537 (diff) | |
| download | linux-84e15e1a6e103e5b57852d90ac686d7f0d0d8b0a.tar.gz linux-84e15e1a6e103e5b57852d90ac686d7f0d0d8b0a.zip | |
iio: pressure: mprls0025pa: stricter checks for the status byte
Make sure a valid conversion comes with a status byte that only has
the MPR_ST_POWER bit set.
Return -EBUSY if also MPR_ST_BUSY is set or -EIO otherwise.
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
