[media] vb2-core: refactor reqbufs/create_bufs
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 27 Jun 2012 20:10:30 +0000 (17:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 20:28:48 +0000 (17:28 -0300)
commit37d9ed94b97efdacf1cbff91216920d1a620b8cd
tree18ebf49d54e1a3ed2dce69d5c1f7e94a1655fd8e
parentdcaded7e5f7c66facfd0ced5b368e757cbf576ed
[media] vb2-core: refactor reqbufs/create_bufs

Split off the memory and type validation. This is done both from reqbufs
and create_bufs, and will also be done by vb2 helpers in a later patch.

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