[media] saa7134: add saa7134_userptr module option to enable USERPTR
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 17 Apr 2014 09:44:31 +0000 (06:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 17:16:53 +0000 (14:16 -0300)
commita3f415abe08552ece58f3ada553482423296c46a
treeec0a2797ed54ffc4468f7e531daaffd7f5049aee
parent2ada815fc48bb0267876c2c24b275bd06485f746
[media] saa7134: add saa7134_userptr module option to enable USERPTR

If the saa7134 module is loaded with the saa7134_userptr set to 1,
then USERPTR support is enabled. A check in buffer_prepare
verifies that the pointer is page-aligned.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/saa7134/saa7134-core.c
drivers/media/pci/saa7134/saa7134-vbi.c
drivers/media/pci/saa7134/saa7134-video.c
drivers/media/pci/saa7134/saa7134.h