Skip to content

Commit

Permalink
[media] marvell-cam: convert to videobuf2
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Jonathan Corbet authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 3751e32 commit b5210fd
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 411 deletions.
2 changes: 2 additions & 0 deletions drivers/media/video/marvell-ccic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ config VIDEO_CAFE_CCIC
tristate "Marvell 88ALP01 (Cafe) CMOS Camera Controller support"
depends on PCI && I2C && VIDEO_V4L2
select VIDEO_OV7670
select VIDEOBUF2_VMALLOC
---help---
This is a video4linux2 driver for the Marvell 88ALP01 integrated
CMOS camera controller. This is the controller found on first-
Expand All @@ -12,6 +13,7 @@ config VIDEO_MMP_CAMERA
depends on ARCH_MMP && I2C && VIDEO_V4L2
select VIDEO_OV7670
select I2C_GPIO
select VIDEOBUF2_VMALLOC
---help---
This is a Video4Linux2 driver for the integrated camera
controller found on Marvell Armada 610 application
Expand Down
Loading

0 comments on commit b5210fd

Please sign in to comment.