]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: blackfin: bfin_capture: release buffers in case start_streaming()...
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sun, 8 Mar 2015 14:40:38 +0000 (11:40 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:11:09 +0000 (18:11 -0300)
commit0ccae35c049b7ba59983422c8027f268d2f73f49
treedec6e090f4a6535d2fc0ef46583a6e64cf9dd515
parent89efcbd847fa1c5bd55d10352402029beb1f42db
[media] media: blackfin: bfin_capture: release buffers in case start_streaming() call back fails

this patch adds support to release the buffer by calling
vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED
if start_streaming() call back fails.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Tested-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/blackfin/bfin_capture.c