Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc26fe9c authored by Alexander Kurz's avatar Alexander Kurz Committed by Shawn Guo
Browse files

ARM: mach-imx: sdhci-esdhc-imx: initialize DMA mask



With commit 7b91369b ("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: default avatarAlexander Kurz <akurz@blala.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent f55532a0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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));
}