diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-09-14 20:20:54 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 10:39:57 +0300 |
| commit | b92f8f3591aca18fe677092fcc567c698368f651 (patch) | |
| tree | e0161c44a78b1c014f8cbc0a819689a7d67be2dd /include/linux | |
| parent | 20290feaaeb76cc719921aad275ccb18662a7c3a (diff) | |
| download | linux-b92f8f3591aca18fe677092fcc567c698368f651.tar.xz | |
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 <laurent.pinchart@ideasonboard.com>
Acked-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com> (st-vgxy61)
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
