[media] vivi: correctly cleanup after a start_streaming failure
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 21 Feb 2014 08:34:49 +0000 (05:34 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 09:56:44 +0000 (06:56 -0300)
commit48d829dadb80a2570aaa99fa324da41b3e05f43b
tree4a9f3c3cd0498a87a94a9ea1d3d74989bcdd3302
parent9cf3c31a8b63f56066de73695e256b7da96fff1e
[media] vivi: correctly cleanup after a start_streaming failure

If start_streaming fails then any queued buffers must be given back
to the vb2 core.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vivi.c