ARM: mach-shmobile: add coherent DMA mask to CEU camera devices
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 23 Mar 2011 09:29:16 +0000 (09:29 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 23 Mar 2011 13:57:05 +0000 (22:57 +0900)
Cameras are currently broken on ARM sh-mobile platforms. They need a
suitable coherent DMA mask.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-ap4evb.c
arch/arm/mach-shmobile/board-mackerel.c

index 1a8118c929be26ebee043d90bb170b8677fa0157..a94f29da5d308adaf216159fbc9184a5f1eb75b3 100644 (file)
@@ -923,7 +923,8 @@ static struct platform_device ceu_device = {
        .num_resources  = ARRAY_SIZE(ceu_resources),
        .resource       = ceu_resources,
        .dev    = {
-               .platform_data  = &sh_mobile_ceu_info,
+               .platform_data          = &sh_mobile_ceu_info,
+               .coherent_dma_mask      = 0xffffffff,
        },
 };
 
index badd8ada0659373888d936b40c97eacdb6bac27c..49bc07482179b3c5fd64bd1bbc14ff558de2da06 100644 (file)
@@ -921,7 +921,8 @@ static struct platform_device ceu_device = {
        .num_resources  = ARRAY_SIZE(ceu_resources),
        .resource       = ceu_resources,
        .dev            = {
-               .platform_data  = &sh_mobile_ceu_info,
+               .platform_data          = &sh_mobile_ceu_info,
+               .coherent_dma_mask      = 0xffffffff,
        },
 };
 
This page took 0.026265 seconds and 5 git commands to generate.