[media] media: vb2: reset queued list on REQBUFS(0) call
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 25 Oct 2011 06:07:59 +0000 (03:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 Nov 2011 11:05:41 +0000 (09:05 -0200)
commitbd50d999d4d4f311fda9b777d1e567433cc0f142
tree8cacbc154f1ce67d0de756de2c5e1a9810430c49
parent4907602f85d454c127d20ac943ead13e2919898d
[media] media: vb2: reset queued list on REQBUFS(0) call

Queued list was not reset on REQBUFS(0) call. This caused to enqueue a
freed buffer to the driver.

Reported-by: Angela Wan <angela.j.wan@gmail.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-core.c