]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] marvell-cam: convert to videobuf2
authorJonathan Corbet <corbet@lwn.net>
Mon, 20 Jun 2011 19:14:36 +0000 (16:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Jun 2011 20:18:25 +0000 (17:18 -0300)
commit6e0b3fa1733f31c75a4455a1ccc848ce0a74ddcf
tree22bdc4c4ffd85b2b7648dc3a9859a8045af51637
parent5304277b17d2db0c9cbafa3fd2ae40311ca6f702
[media] marvell-cam: convert to videobuf2

This is a basic, naive conversion to the videobuf2 infrastructure, removing
a lot of code in the process.  For now, we're using vmalloc, which is
suboptimal, but it does match what the cafe driver did before.  In the cafe
case, it may have to stay that way just because memory is too tight to do
direct streaming; mmp-camera will be able to do better.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/marvell-ccic/Kconfig
drivers/media/video/marvell-ccic/mcam-core.c
drivers/media/video/marvell-ccic/mcam-core.h