[media] media: davinci: vpbe: release buffers in case start_streaming call back fails
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Mon, 14 Apr 2014 14:52:31 +0000 (11:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 15:20:33 +0000 (12:20 -0300)
commitb1c090d0f4afbb87340dcdd5084391098d2f279d
tree9de1b511b0889055a87b75621b21ce55fd851f41
parente21c94e772a34c3dec920e8e5ad313f4f3d77147
[media] media: davinci: vpbe: 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/vpbe_display.c