diff options
author | Subash Patel <subash.rp@samsung.com> | 2012-12-05 10:36:03 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2013-01-16 17:19:23 +0530 |
commit | 27b02a238d8e91b17b34df0965542bb831608025 (patch) | |
tree | ca6635b223fe34ef16e405157ee1d8f2086d9df7 /drivers | |
parent | dc89c984ea6c39dccd2cc002194e8c1aac0e3661 (diff) |
ARM: exynos: add coherent dma mask
This patch adds the coherent_dma_mask for dw_mci_pltfm node.
This is needed as the check is done during the coherent buffer
allocation.
Note: Find a better place to add this
Signed-off-by: Subash Patel <subash.rp@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/dw_mmc-pltfm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c index 5e1fb1d2c42..ae8bdd264cd 100644 --- a/drivers/mmc/host/dw_mmc-pltfm.c +++ b/drivers/mmc/host/dw_mmc-pltfm.c @@ -20,6 +20,7 @@ #include <linux/mmc/mmc.h> #include <linux/mmc/dw_mmc.h> #include <linux/of.h> +#include <linux/dma-mapping.h> #include "dw_mmc.h" @@ -64,6 +65,8 @@ EXPORT_SYMBOL_GPL(dw_mci_pltfm_register); static int dw_mci_pltfm_probe(struct platform_device *pdev) { + /* set the coherent dma_mask */ + pdev->dev.coherent_dma_mask = DMA_BIT_MASK(64); return dw_mci_pltfm_register(pdev, NULL); } |