[media] mem2mem_testdev: return pending buffers in stop_streaming()
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 10 Mar 2014 13:58:27 +0000 (10:58 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 13:31:45 +0000 (10:31 -0300)
commita773632c1f9096f76d4b5a112d8e5a7183097aa6
treef98afbcd1f5a8ab8ed96c5c96be3f62b584c0a7f
parent782f36ca697034b43177b0d7e05d691f6bce120f
[media] mem2mem_testdev: return pending buffers in stop_streaming()

To keep the vb2 buffer administration in balance stop_streaming() must
return any pending buffers to the vb2 framework.

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