diff options
| author | Laurent Pinchart <[email protected]> | 2023-09-14 20:20:54 +0300 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-09-27 09:39:57 +0200 |
| commit | b92f8f3591aca18fe677092fcc567c698368f651 (patch) | |
| tree | e0161c44a78b1c014f8cbc0a819689a7d67be2dd /tools/perf/scripts/python | |
| parent | 20290feaaeb76cc719921aad275ccb18662a7c3a (diff) | |
media: i2c: Use pm_runtime_resume_and_get()
Simplify error handling by using pm_runtime_resume_and_get() instead of
pm_runtime_get_sync() with a put call in the error path.
Signed-off-by: Laurent Pinchart <[email protected]>
Acked-by: Benjamin Mugnier <[email protected]> (st-vgxy61)
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions