upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:31 +0000 (14:26 +0900)
commiteeaa7dfc209cca2883100db3cee67ad144cd03b4
tree5f5c9a6dfdc50fb6fbd77fa8aa271ba3cbaa4816
parenteb1e2b41462d559a45df0881c15e416e0e7451c2
upstream: [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