mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
9c0863b1cc
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> |
||
---|---|---|
.. | ||
b2c2 | ||
bt8xx | ||
cx18 | ||
cx88 | ||
cx23885 | ||
cx25821 | ||
ddbridge | ||
dm1105 | ||
ivtv | ||
mantis | ||
meye | ||
ngene | ||
pluto2 | ||
pt1 | ||
saa7134 | ||
saa7146 | ||
saa7164 | ||
sta2x11 | ||
ttpci | ||
zoran | ||
Kconfig | ||
Makefile |