瀏覽代碼

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>
Guennadi Liakhovetski 14 年之前
父節點
當前提交
05a5f01c68
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 1
      arch/arm/mach-shmobile/board-ap4evb.c
  2. 2 1
      arch/arm/mach-shmobile/board-mackerel.c

+ 2 - 1
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,
 	},
 };
 

+ 2 - 1
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,
 	},
 };