aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAlexander Kurz <akurz@blala.de>2016-04-11 10:20:46 +0200
committerShawn Guo <shawnguo@kernel.org>2016-04-13 16:41:56 +0800
commitfc26fe9c3869f02dd9dc54ff3a45c6d9d4bbbdfa (patch)
tree57501bc44acdd4d462c66649daaa0d440573556a /arch/arm
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadleg-kernel-fc26fe9c3869f02dd9dc54ff3a45c6d9d4bbbdfa.tar.gz
ARM: mach-imx: sdhci-esdhc-imx: initialize DMA mask
With commit 7b91369b4655 ("mmc: sdhci: Set DMA mask when adding host") DMA access got disabled for device drivers with zero DMA mask property. sdhci-esdhc-imx got blocked from DMA access by this. Hence: initialize the DMA mask to enable access again. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c b/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c
index a5edd7d60266..3d039ef021e0 100644
--- a/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c
+++ b/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c
@@ -71,6 +71,7 @@ struct platform_device *__init imx_add_sdhci_esdhc_imx(
if (!pdata)
pdata = &default_esdhc_pdata;
- return imx_add_platform_device(data->devid, data->id, res,
- ARRAY_SIZE(res), pdata, sizeof(*pdata));
+ return imx_add_platform_device_dmamask(data->devid, data->id, res,
+ ARRAY_SIZE(res), pdata, sizeof(*pdata),
+ DMA_BIT_MASK(32));
}