|
|
@@ -6,6 +6,7 @@
|
|
|
*
|
|
|
*/
|
|
|
#include <linux/clk.h>
|
|
|
+#include <linux/dma-mapping.h>
|
|
|
#include <linux/module.h>
|
|
|
#include <linux/pm_runtime.h>
|
|
|
#include <linux/property.h>
|
|
|
@@ -322,6 +323,12 @@ static int sdhci_am654_probe(struct platform_device *pdev)
|
|
|
goto pm_runtime_put;
|
|
|
}
|
|
|
|
|
|
+ ret = dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(48));
|
|
|
+ if (ret) {
|
|
|
+ dev_err(dev, "error setting dma mask: %d\n", ret);
|
|
|
+ goto pm_runtime_put;
|
|
|
+ }
|
|
|
+
|
|
|
ret = sdhci_am654_init(host);
|
|
|
if (ret)
|
|
|
goto pm_runtime_put;
|