linux/drivers/media/pci
Hans Verkuil 9c0863b1cc [media] vb2: call buf_finish from __queue_cancel
If a queue was canceled, then the buf_finish op was never called for the
pending buffers. So add this call to queue_cancel. Before calling buf_finish
set the buffer state to PREPARED, which is the correct state. That way the
states DONE and ERROR will only be seen in buf_finish if streaming is in
progress.

Since buf_finish can now be called from non-streaming state we need to
adapt the handful of drivers that actually need to know this.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-03-11 06:56:39 -03:00
..
b2c2 [media] pci: flexcop: Remove redundant pci_set_drvdata 2013-10-17 05:56:55 -03:00
bt8xx [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
cx18 [media] cx18: check for allocation failure in cx18_read_eeprom() 2013-12-10 15:36:11 -02:00
cx88 [media] cx88: use correct pci drvdata type in cx88_audio_finidev() 2013-12-10 15:28:59 -02:00
cx23885 [media] cx23885: Fix tuning regression for TeVii S471 2014-02-04 17:45:37 -02:00
cx25821 [media] media: pci: remove DEFINE_PCI_DEVICE_TABLE macro 2013-12-10 16:39:25 -02:00
ddbridge [media] ddbridge: Remove casting the return value which is a void pointer 2013-10-31 04:54:12 -02:00
dm1105 [media] dm1105: remove unneeded not-null test 2013-10-31 04:53:40 -02:00
ivtv [media] ivtv: remove deprecated IRQF_DISABLED 2013-10-17 06:08:52 -03:00
mantis [media] pci: mantis: Remove redundant pci_set_drvdata 2013-10-17 06:01:32 -03:00
meye [media] misc drivers: remove deprecated IRQF_DISABLED 2013-10-17 06:08:31 -03:00
ngene [media] ngene: Remove casting the return value which is a void pointer 2013-10-31 04:53:59 -02:00
pluto2 [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
pt1 [media] pci: pt1: Remove redundant pci_set_drvdata 2013-10-17 06:01:59 -03:00
saa7134 [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
saa7146 [media] mxb: check register address when reading/writing a register 2013-06-17 08:53:48 -03:00
saa7164 [media] saa7164: fix return value check in saa7164_initdev() 2013-11-29 14:20:06 -02:00
sta2x11 [media] vb2: call buf_finish from __queue_cancel 2014-03-11 06:56:39 -03:00
ttpci [media] av7110_hw: Don't use dynamic static allocation 2013-11-08 09:45:41 -02:00
zoran [media] zoran: don't build it on alpha 2013-11-07 15:03:19 -02:00
Kconfig Properly handle tristate dependencies on USB/PCI menus 2013-06-17 11:40:28 -03:00
Makefile