diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-17 14:01:33 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-04 13:17:48 +0000 |
commit | 60a0cf2ebab92011055ab7db6553c0fc3c546938 (patch) | |
tree | 8c7b491913a4ffcd4b6ae250881d9de8baf1f589 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6c21fc09c3e60c018997c80331cdac5f1603558b (diff) |
iio: accel: msa311: Fix failure to release runtime pm if direct mode claim fails.
Reorder the claiming of direct mode and runtime pm calls to simplify
handling a little. For correct error handling, after the reorder
iio_device_release_direct_mode() must be claimed in an error occurs
in pm_runtime_resume_and_get()
Fixes: 1ca2cfbc0c33 ("iio: add MEMSensing MSA311 3-axis accelerometer driver")
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250217140135.896574-7-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions