[media] dt3155v4l: move vb2_queue to top-level
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 25 Apr 2015 14:51:36 +0000 (11:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 11:21:39 +0000 (08:21 -0300)
commit9556be12177e98bc7a566a80246e083d9892f863
tree4d15660350a871f2761ec8f88ed288747ff093c9
parentdeb2897824f21e69ac3b325786b8190f1d7f2bfd
[media] dt3155v4l: move vb2_queue to top-level

Instead of initializing the vb2_queue in open (and freeing in release)
do this in probe/remove instead. And as a bonus use the vb2 helper
functions to greatly simplify the driver.

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