diff options
| author | Jonathan Cameron <[email protected]> | 2021-05-09 12:33:50 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:54:26 +0100 |
| commit | 66e748ae7f82301af3b2c2bd0b3bd46d01fd7471 (patch) | |
| tree | 9ef17649a9985e35993d44684e31918c3c545029 /tools/perf/scripts/python | |
| parent | 6e4183ec8dfdbce1a48a82d8b8d5648c98d5bfd8 (diff) | |
iio: temp: mlx90614: Handle failure in pm_runtime_resume_and_get()
Converts from using pm_runtime_get_sync() with no error handling over
to pm_runtime_resume_and_get() which will ensure we don't end up
holding a reference. Ensure this error return is then handled at
calls to mlx90614_power_get(). These are all direct returns.
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions