diff options
author | Jonathan Corbet <corbet@lwn.net> | 2011-06-30 16:05:28 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:35 -0400 |
commit | 28720944d86b4d187360daa8be67dd22cb4e897b (patch) | |
tree | 8f8d418dcbf7b138f29279eafa1ff031c64e1fb5 /drivers/media/video/marvell-ccic/mmp-driver.c | |
parent | cbc4f3a277ce52c217457ce08f433d8e9ad4925f (diff) |
[media] marvell-cam: use S/G DMA by default
Scatter/gather DMA mode works nicely on this platform and is clearly the
best way of doing things.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/marvell-ccic/mmp-driver.c')
-rw-r--r-- | drivers/media/video/marvell-ccic/mmp-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/marvell-ccic/mmp-driver.c b/drivers/media/video/marvell-ccic/mmp-driver.c index 7b9c48c897e5..841591556994 100644 --- a/drivers/media/video/marvell-ccic/mmp-driver.c +++ b/drivers/media/video/marvell-ccic/mmp-driver.c | |||
@@ -180,7 +180,7 @@ static int mmpcam_probe(struct platform_device *pdev) | |||
180 | mcam->dev = &pdev->dev; | 180 | mcam->dev = &pdev->dev; |
181 | mcam->use_smbus = 0; | 181 | mcam->use_smbus = 0; |
182 | mcam->chip_id = V4L2_IDENT_ARMADA610; | 182 | mcam->chip_id = V4L2_IDENT_ARMADA610; |
183 | mcam->buffer_mode = B_vmalloc; /* Switch to dma */ | 183 | mcam->buffer_mode = B_DMA_sg; |
184 | spin_lock_init(&mcam->dev_lock); | 184 | spin_lock_init(&mcam->dev_lock); |
185 | /* | 185 | /* |
186 | * Get our I/O memory. | 186 | * Get our I/O memory. |