Ricardo Ribalda 44f7033860 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>
2024-10-08 16:04:45 +02:00
..
2024-04-29 12:07:00 +01:00
2024-05-03 11:13:02 +01:00
2024-05-03 11:13:45 +01:00
2024-05-03 11:14:15 +01:00
2022-08-29 16:43:00 +02:00
2022-08-29 16:43:00 +02:00