[media] videobuf2-core: fill in q->bufs[vb->index] before buf_init()
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 20 Nov 2015 11:31:11 +0000 (09:31 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 16:03:54 +0000 (14:03 -0200)
commite32f856ab29e9369c055e6b7f0e554c79341b1c6
treef6e9a91392e32a51f42b0a63ecff6c17b25f5c2e
parent489648afcd309bb84567b59e140d9cdeddecb356
[media] videobuf2-core: fill in q->bufs[vb->index] before buf_init()

Fill in q->bufs[vb->index] before the call to buf_init: it makes
sense that this is initialized correctly.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/videobuf2-core.c