From: Lad, Prabhakar Date: Sun, 8 Mar 2015 14:40:45 +0000 (-0300) Subject: [media] media: blackfin: bfin_capture: make sure all buffers are returned on stop_str... X-Git-Tag: omap-for-v4.2/o2_dc~62^2~1^2~221 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bf34b2f0952eeb15f10434ce0d1ee7356c005ff;p=pandora-kernel.git [media] media: blackfin: bfin_capture: make sure all buffers are returned on stop_streaming() callback In start_streaming() callback the buffer is removed from the dma_queue list and assigned to cur_frm, this patch makes sure that is returned to vb2 core with VB2_BUF_STATE_ERROR flag. Signed-off-by: Lad, Prabhakar Tested-by: Scott Jiang Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed