diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-23 05:29:16 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-23 09:57:05 -0400 |
commit | 05a5f01c68e70f2b290db5faed00990daaff3990 (patch) | |
tree | 5f3a6f448884c8693a940e0c4a6f55a4c0100168 /arch/arm | |
parent | 1fbdfcdeac3ec49b5fbb5a882ed8ce3309a73b6d (diff) |
ARM: mach-shmobile: add coherent DMA mask to CEU camera devices
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 1a8118c929be..a94f29da5d30 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -923,7 +923,8 @@ static struct platform_device ceu_device = { | |||
923 | .num_resources = ARRAY_SIZE(ceu_resources), | 923 | .num_resources = ARRAY_SIZE(ceu_resources), |
924 | .resource = ceu_resources, | 924 | .resource = ceu_resources, |
925 | .dev = { | 925 | .dev = { |
926 | .platform_data = &sh_mobile_ceu_info, | 926 | .platform_data = &sh_mobile_ceu_info, |
927 | .coherent_dma_mask = 0xffffffff, | ||
927 | }, | 928 | }, |
928 | }; | 929 | }; |
929 | 930 | ||
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index badd8ada0659..49bc07482179 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -921,7 +921,8 @@ static struct platform_device ceu_device = { | |||
921 | .num_resources = ARRAY_SIZE(ceu_resources), | 921 | .num_resources = ARRAY_SIZE(ceu_resources), |
922 | .resource = ceu_resources, | 922 | .resource = ceu_resources, |
923 | .dev = { | 923 | .dev = { |
924 | .platform_data = &sh_mobile_ceu_info, | 924 | .platform_data = &sh_mobile_ceu_info, |
925 | .coherent_dma_mask = 0xffffffff, | ||
925 | }, | 926 | }, |
926 | }; | 927 | }; |
927 | 928 | ||