ARM: tegra: set 64 bit coherent_dma_mask
Petlozu Pravareshwar [Mon, 25 Mar 2013 14:18:12 +0000 (19:18 +0530)]
Set 64 bit coherent_dma_mask for ehci devices.

Bug 1256513

Change-Id: Ie937af9b080ebd9bbcca88604043127168c464ca
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/212667
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

arch/arm/mach-tegra/devices.c

index 6991e4b..75ba5a8 100644 (file)
@@ -1077,14 +1077,14 @@ struct platform_device tegra_xhci_device = {
 };
 #endif
 
-static u64 tegra_ehci_dmamask = DMA_BIT_MASK(32);
+static u64 tegra_ehci_dmamask = DMA_BIT_MASK(64);
 
 struct platform_device tegra_ehci1_device = {
        .name   = "tegra-ehci",
        .id     = 0,
        .dev    = {
                .dma_mask       = &tegra_ehci_dmamask,
-               .coherent_dma_mask = DMA_BIT_MASK(32),
+               .coherent_dma_mask = DMA_BIT_MASK(64),
        },
        .resource = tegra_usb1_resources,
        .num_resources = ARRAY_SIZE(tegra_usb1_resources),
@@ -1095,7 +1095,7 @@ struct platform_device tegra_ehci2_device = {
        .id     = 1,
        .dev    = {
                .dma_mask       = &tegra_ehci_dmamask,
-               .coherent_dma_mask = DMA_BIT_MASK(32),
+               .coherent_dma_mask = DMA_BIT_MASK(64),
        },
        .resource = tegra_usb2_resources,
        .num_resources = ARRAY_SIZE(tegra_usb2_resources),
@@ -1106,7 +1106,7 @@ struct platform_device tegra_ehci3_device = {
        .id     = 2,
        .dev    = {
                .dma_mask       = &tegra_ehci_dmamask,
-               .coherent_dma_mask = DMA_BIT_MASK(32),
+               .coherent_dma_mask = DMA_BIT_MASK(64),
        },
        .resource = tegra_usb3_resources,
        .num_resources = ARRAY_SIZE(tegra_usb3_resources),