On Mon, Mar 03, 2014 at 08:28:05AM +0200, Sakari Ailus wrote: > On Fri, Feb 28, 2014 at 06:42:04PM +0100, Hans Verkuil wrote: > > From: Hans Verkuil <hans.verkuil@xxxxxxxxx> > > > > 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@xxxxxxxxx> > > Acked-by: Sakari Ailus <sakari.ailus@xxxxxx> You can replace this by: Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html