ARM: shmobile: mackerel: enable DMAEngine on USB Host
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 8 Nov 2012 03:09:01 +0000 (19:09 -0800)
committerSimon Horman <horms@verge.net.au>
Thu, 8 Nov 2012 08:52:04 +0000 (17:52 +0900)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
arch/arm/mach-shmobile/board-mackerel.c

index f274252e470521bda095df8a2a8c2ee3611ccddf..d5fe365cb8701177aed900d3c0a51fbdbcc1ca32 100644 (file)
@@ -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,