linux/drivers/media/video/cx23885
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
..
cimax2.c V4L/DVB: configurable IRQ from CAM 2010-05-18 00:46:42 -03:00
cimax2.h V4L/DVB (10798): Add CIMax(R) SP2 Common Interface code for NetUP Dual DVB-S2 CI card 2009-03-30 12:43:04 -03:00
cx23885-417.c V4L/DVB: videobuf: add ext_lock argument to the queue init functions 2010-10-21 01:06:14 -02:00
cx23885-av.c V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23885-av.h V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23885-cards.c V4L/DVB: cx23885: Require user to explicitly enable CX2388[57] IR via module param 2010-08-08 23:42:56 -03:00
cx23885-core.c V4L/DVB: videobuf: add queue argument to videobuf_waiton() 2010-10-21 01:06:14 -02:00
cx23885-dvb.c V4L/DVB: videobuf: add ext_lock argument to the queue init functions 2010-10-21 01:06:14 -02:00
cx23885-f300.c V4L/DVB (13493): TeVii S470 and TBS 6920 fixes 2009-12-05 18:42:08 -02:00
cx23885-f300.h V4L/DVB (13493): TeVii S470 and TBS 6920 fixes 2009-12-05 18:42:08 -02:00
cx23885-i2c.c V4L/DVB: Use custom I2C probing function mechanism 2010-08-11 18:20:57 +02:00
cx23885-input.c V4L/DVB: cx23885, cx25840: Change IR measurment records to use struct ir_raw_event 2010-08-08 23:42:56 -03:00
cx23885-input.h V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx23885-ioctl.c V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx23885-ioctl.h V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx23885-ir.c V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23885-ir.h V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx23885-reg.h V4L/DVB: cx23885: Add preliminary IR Rx support for the HVR-1250 and TeVii S470 2010-08-08 23:42:55 -03:00
cx23885-vbi.c V4L/DVB: cx23885: Protect PCI interrupt mask manipulations with a spinlock 2010-08-08 23:42:55 -03:00
cx23885-video.c V4L/DVB: videobuf: add ext_lock argument to the queue init functions 2010-10-21 01:06:14 -02:00
cx23885.h V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23888-ir.c V4L/DVB: cx23885, cx25840: Change IR measurment records to use struct ir_raw_event 2010-08-08 23:42:56 -03:00
cx23888-ir.h V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
Kconfig V4L/DVB: Fix IR_CORE dependencies 2010-08-12 15:07:48 -03:00
Makefile V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
netup-eeprom.c V4L/DVB (12957): Fix MAC address reading from EEPROM in NetUP Dual DVB-S2 CI card. 2009-09-19 00:15:49 -03:00
netup-eeprom.h V4L/DVB (10797): Add EEPROM code for NetUP Dual DVB-S2 CI card. 2009-03-30 12:43:04 -03:00
netup-init.c V4L/DVB (10796): Add init code for NetUP Dual DVB-S2 CI card 2009-03-30 12:43:04 -03:00
netup-init.h V4L/DVB (10796): Add init code for NetUP Dual DVB-S2 CI card 2009-03-30 12:43:04 -03:00