diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-09-20 22:24:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 05:06:14 +0200 |
commit | 97397687886aa8ecd4ec603fab9e70e970c11597 (patch) | |
tree | 339d460b43d2ec7206c9d147d2ad6f8fcbfa3870 /drivers/media/video/cx23885/cx23885-video.c | |
parent | V4L/DVB: v4l2: add core serialization lock (diff) | |
download | linux-97397687886aa8ecd4ec603fab9e70e970c11597.tar.xz linux-97397687886aa8ecd4ec603fab9e70e970c11597.zip |
V4L/DVB: videobuf: prepare to make locking optional in videobuf
Currently videobuf uses the vb_lock mutex to lock its data structures.
But this locking will (optionally) move into the v4l2 core, which means
that in that case vb_lock shouldn't be used since the external lock is already
held.
Prepare for this by adding a pointer to such an external mutex and
don't lock if that pointer is set.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-video.c')
0 files changed, 0 insertions, 0 deletions