]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: davinci: vpif_display: release buffers in case start_streaming() call...
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 16 May 2014 13:33:09 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 22:01:30 +0000 (19:01 -0300)
commit54a445a41bac7c320ee00afa633fe869428697c4
tree073d01c3ed306e543f015cebae7b231ac367aec6
parentd10ed5c1906e708e6a9fc26e9dd25b479b5439e9
[media] media: davinci: vpif_display: 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>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/davinci/vpif_display.c