summaryrefslogtreecommitdiff
path: root/drivers/media/usb/stk1160/stk1160-v4l.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2018-06-15 22:07:31 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-04 15:03:04 +0300
commit1d120649a81e5fc71151cbe8d6d82c58f7777160 (patch)
treebfb27fd55be30f2b8f48567c04973bcce01f3eb6 /drivers/media/usb/stk1160/stk1160-v4l.c
parenta4273abcd3e40f7e8fe9c5347dea1e0a6b9ccadb (diff)
downloadlinux-1d120649a81e5fc71151cbe8d6d82c58f7777160.tar.xz
media: m2m-deinterlace: Implement wait_prepare and wait_finish
This driver is currently specifying a video_device lock, which means it is protecting all the ioctls (including queue ioctls) with a single mutex. It's therefore straightforward to implement wait_prepare and wait_finish, by explicitly setting the vb2_queue lock. Having these callbacks releases the queue lock while blocking, which improves latency by allowing for example streamoff or qbuf operations while waiting in dqbuf. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/stk1160/stk1160-v4l.c')
0 files changed, 0 insertions, 0 deletions