[PATCH 3/5] mci: imx-esdhc: Specify that DMA is 32-bit only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ESDHC can only do a DMA transfer to 32-bit address space, so mark it
as such.

Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
---
 drivers/mci/imx-esdhc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index db96a8139..7f2472012 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -629,6 +629,8 @@ static int fsl_esdhc_probe(struct device_d *dev)
 			host->socdata = &esdhc_imx25_data;
 	}
 
+	dma_set_mask(dev, DMA_BIT_MASK(32));
+
 	host->clk = clk_get(dev, "per");
 	if (IS_ERR(host->clk))
 		return PTR_ERR(host->clk);
-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux