Laurent Pinchart 7101d12799 media: videobuf2-v4l2: Expose vb2_queue_is_busy() to drivers
vb2 queue ownership is managed by the ioctl handler helpers
(vb2_ioctl_*). There are however use cases where drivers can benefit
from checking queue ownership, for instance when open-coding an ioctl
handler that needs to perform additional checks before calling the
corresponding vb2 operation.

Expose the vb2_queue_is_busy() function in the videobuf2-v4l2.h header,
and change its first argument to a struct vb2_queue pointer as the
function name implies it operates on a queue, not a video_device.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-05-13 11:02:21 +02:00
..
2022-04-15 11:38:55 -07:00
2022-03-04 13:41:57 +10:00
2022-04-01 09:37:18 -07:00
2022-04-16 17:01:43 -07:00
2022-02-25 09:36:06 +01:00
2022-03-24 16:19:43 -07:00
2022-04-14 11:08:12 -07:00
2022-04-12 14:23:19 -10:00