From 9f52de08c36ae7216416198e6f71a2be77268b52 Mon Sep 17 00:00:00 2001 From: Subash Patel Date: Wed, 5 Dec 2012 10:34:19 +0530 Subject: ARM: exynos: add coherent_dma_mask This patch adds the coherent_dma_mask for the dw_mmc device. This is needed as check is now done in dma-mapping framework before allocating the buffers. Note: Find a better place to add this Signed-off-by: Subash Patel --- drivers/mmc/host/dw_mmc-exynos.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 4d50da61816..8f46292fe49 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "dw_mmc.h" #include "dw_mmc-pltfm.h" @@ -232,6 +233,8 @@ int dw_mci_exynos_probe(struct platform_device *pdev) match = of_match_node(dw_mci_exynos_match, pdev->dev.of_node); drv_data = match->data; + /* set the dma coherent mask */ + pdev->dev.coherent_dma_mask = DMA_BIT_MASK(64); return dw_mci_pltfm_register(pdev, drv_data); } -- cgit v1.2.3