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>
Tue, 18 Nov 2014 02:58:42 +0000 (11:58 +0900)
commitd5c91dc0a099a13b5c8c23a9d08aaaea0df95717
treea085f12784c0c3fc1f8e3f0c97acd00e414cfa35
parentf17c9d79654a8f20075e8b93dc5f0bcc23b39767
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