]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit507d1087b58269c43af64c395bb76a0190d32b88
treef6e9a91392e32a51f42b0a63ecff6c17b25f5c2e
parentba8e39e666d867630942b648f10e324144a02f88
[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