diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-23 09:29:16 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-23 22:57:05 +0900 |
commit | 05a5f01c68e70f2b290db5faed00990daaff3990 (patch) | |
tree | 5f3a6f448884c8693a940e0c4a6f55a4c0100168 /arch | |
parent | 1fbdfcdeac3ec49b5fbb5a882ed8ce3309a73b6d (diff) | |
download | linux-05a5f01c68e70f2b290db5faed00990daaff3990.tar.gz linux-05a5f01c68e70f2b290db5faed00990daaff3990.tar.bz2 linux-05a5f01c68e70f2b290db5faed00990daaff3990.zip |
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')
-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 = { .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, }, }; 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 = { .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, }, }; |