]> xenbits.xensource.com Git - people/aperard/linux-arndale.git/commitdiff
ARM: exynos: update coherent dma mask
authorSubash Patel <subash.rp@samsung.com>
Wed, 5 Dec 2012 05:02:14 +0000 (10:32 +0530)
committerVasanth Ananthan <vasanthananthan@gmail.com>
Tue, 8 Jan 2013 10:34:45 +0000 (16:04 +0530)
This patch updates the coherent dma mask for dev-ehci

Signed-off-by: Subash Patel <subash.rp@samsung.com>
drivers/usb/host/ehci-s5p.c

index 721f04e3b864d626dbe9baff495563689df9c590..e086397245c8b76df3e4b2b80a405ef8336fbf3d 100644 (file)
@@ -131,7 +131,7 @@ static void s5p_setup_vbus_gpio(struct platform_device *pdev)
                dev_err(&pdev->dev, "can't request ehci vbus gpio %d", gpio);
 }
 
-static u64 ehci_s5p_dma_mask = DMA_BIT_MASK(32);
+static u64 ehci_s5p_dma_mask = DMA_BIT_MASK(64);
 
 static int __devinit s5p_ehci_probe(struct platform_device *pdev)
 {
@@ -152,7 +152,7 @@ static int __devinit s5p_ehci_probe(struct platform_device *pdev)
        if (!pdev->dev.dma_mask)
                pdev->dev.dma_mask = &ehci_s5p_dma_mask;
        if (!pdev->dev.coherent_dma_mask)
-               pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
+               pdev->dev.coherent_dma_mask = DMA_BIT_MASK(64);
 
        s5p_setup_vbus_gpio(pdev);