diff options
author | Alexander Kurz <akurz@blala.de> | 2016-04-11 10:20:46 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-04-13 16:41:56 +0800 |
commit | fc26fe9c3869f02dd9dc54ff3a45c6d9d4bbbdfa (patch) | |
tree | 57501bc44acdd4d462c66649daaa0d440573556a /arch | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
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')
-rw-r--r-- | arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c | 5 |
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)); } |