Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261349
b: refs/heads/master
c: a9b36e8
h: refs/heads/master
i:
  261347: 57ea42f
v: v3
  • Loading branch information
Jonathan Corbet authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 2336786 commit 3c87011
Show file tree
Hide file tree
Showing 6 changed files with 206 additions and 55 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c895d548c393d913152195c9e70816e13c64f9f
refs/heads/master: a9b36e850782db853b9da050be9ed2050de51ad4
1 change: 1 addition & 0 deletions trunk/drivers/media/video/marvell-ccic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ config VIDEO_MMP_CAMERA
select VIDEO_OV7670
select I2C_GPIO
select VIDEOBUF2_VMALLOC
select VIDEOBUF2_DMA_CONTIG
---help---
This is a Video4Linux2 driver for the integrated camera
controller found on Marvell Armada 610 application
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/media/video/marvell-ccic/cafe-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,12 @@ static int cafe_pci_probe(struct pci_dev *pdev,
*/
mcam->clock_speed = 45;
mcam->use_smbus = 1;
/*
* Vmalloc mode for buffers is traditional with this driver.
* We *might* be able to run DMA_contig, especially on a system
* with CMA in it.
*/
mcam->buffer_mode = B_vmalloc;
/*
* Get set up on the PCI bus.
*/
Expand Down
Loading

0 comments on commit 3c87011

Please sign in to comment.