Browse Source

ARM: shmobile: mackerel: enable DMAEngine on USB Host

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Kuninori Morimoto 12 years ago
parent
commit
c8c3243c75
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/arm/mach-shmobile/board-mackerel.c

+ 2 - 0
arch/arm/mach-shmobile/board-mackerel.c

@@ -816,6 +816,8 @@ static struct platform_device usbhs1_device = {
 	.id	= 1,
 	.dev = {
 		.platform_data		= &usbhs1_private.info,
+		.dma_mask		= &usbhs1_device.dev.coherent_dma_mask,
+		.coherent_dma_mask	= DMA_BIT_MASK(32),
 	},
 	.num_resources	= ARRAY_SIZE(usbhs1_resources),
 	.resource	= usbhs1_resources,