diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2024-09-26 05:49:57 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-10-08 16:04:45 +0200 |
| commit | 44f703386021e90cc33346f0ed3beb0274cedd68 (patch) | |
| tree | 590113f5f8faf9767dfea526ad147adb2ea22304 /tools/perf/scripts/python | |
| parent | 3dd075fe8ebbc6fcbf998f81a75b8c4b159a6195 (diff) | |
| download | linux-44f703386021e90cc33346f0ed3beb0274cedd68.tar.gz linux-44f703386021e90cc33346f0ed3beb0274cedd68.zip | |
media: uvcvideo: Refactor the status irq API
There are two different use-cases of uvc_status():
- adding/removing a user when the camera is open/closed
- stopping/starting when the camera is suspended/resumed
Make the API reflect these two use-cases and move all the refcounting
and locking logic to the uvc_status.c file.
No functional change is expected from this patch.
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240926-guenter-mini-v7-1-690441953d4a@chromium.org
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
