]> 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:03:16 +0000 (10:33 +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-ohci

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

index 4bb0b93e0c8a6c9ffdaef2c39523af4b4c70f7b0..90852caf26019a5d6a5628330e2cfa71a9a24bb5 100644 (file)
@@ -100,7 +100,7 @@ static const struct hc_driver exynos_ohci_hc_driver = {
        .start_port_reset       = ohci_start_port_reset,
 };
 
-static u64 ohci_exynos_dma_mask = DMA_BIT_MASK(32);
+static u64 ohci_exynos_dma_mask = DMA_BIT_MASK(64);
 
 static int __devinit exynos_ohci_probe(struct platform_device *pdev)
 {
@@ -127,7 +127,7 @@ static int __devinit exynos_ohci_probe(struct platform_device *pdev)
        if (!pdev->dev.dma_mask)
                pdev->dev.dma_mask = &ohci_exynos_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);
 
        exynos_ohci = devm_kzalloc(&pdev->dev, sizeof(struct exynos_ohci_hcd),
                                        GFP_KERNEL);