android_kernel_xiaomi_sm8350/drivers/media/video/saa7134
Hans Verkuil 0e0809a588 V4L/DVB: videobuf: add queue argument to videobuf_waiton()
videobuf_waiton() must unlock and relock ext_lock if it has to wait.
For that to happen it needs the videobuf_queue pointer.

Don't attempt to unlock/relock q->ext_lock unless it was locked in the
first place.

vb->state has to be protected by a spinlock to be safe.

This patch is based on code from Mauro Carvalho Chehab <mchehab@redhat.com>.

[mchehab@redhat.com: add extra argument to a few missing places]
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-10-21 01:06:14 -02:00
..
Kconfig V4L/DVB: saa7134: split RC code into a different module 2010-10-21 01:06:09 -02:00
Makefile V4L/DVB: saa7134: split RC code into a different module 2010-10-21 01:06:09 -02:00
saa6752hs.c V4L/DVB: saa6752hs: remove obsolete v4l2-i2c-drv.h header 2010-10-21 01:05:59 -02:00
saa7134-alsa.c
saa7134-cards.c V4L/DVB: Fix regression for BeholdTV Columbus 2010-09-27 22:21:50 -03:00
saa7134-core.c V4L/DVB: videobuf: add queue argument to videobuf_waiton() 2010-10-21 01:06:14 -02:00
saa7134-dvb.c V4L/DVB: videobuf: add ext_lock argument to the queue init functions 2010-10-21 01:06:14 -02:00
saa7134-empress.c V4L/DVB: videobuf: add ext_lock argument to the queue init functions 2010-10-21 01:06:14 -02:00
saa7134-i2c.c V4L/DVB: saa7134: get rid of I2C_HW_SAA7134 2010-10-21 01:06:07 -02:00
saa7134-input.c V4L/DVB: saa7134: split RC code into a different module 2010-10-21 01:06:09 -02:00
saa7134-reg.h
saa7134-ts.c
saa7134-tvaudio.c
saa7134-vbi.c
saa7134-video.c V4L/DVB: videobuf: add ext_lock argument to the queue init functions 2010-10-21 01:06:14 -02:00
saa7134.h V4L/DVB: saa7134: split RC code into a different module 2010-10-21 01:06:09 -02:00