media: am437x-vpfe: Streamlined vb2 buffer cleanup
authorBenoit Parrot <bparrot@ti.com>
Fri, 20 Sep 2019 17:05:47 +0000 (14:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 1 Oct 2019 19:11:16 +0000 (16:11 -0300)
commit73940235337ee91ba32eaf71d641d74d9b1c9b63
tree7b108b6453c2fe6e9cc1ab5f3a886c4ac7dbb80f
parent158a1dddf2dbce5fdb3053213c1e9b36a54b4d4d
media: am437x-vpfe: Streamlined vb2 buffer cleanup

Returning queued vb2 buffers back to user space is a common
task best handled by a helper function.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/am437x/am437x-vpfe.c