[Letux-kernel] [RFC 28/28] hack: disable DMA for mmc
H. Nikolaus Schaller
hns at goldelico.com
Sat Jan 23 17:28:54 CET 2021
dma is currently broken.
To get the device to boot disable its use by the mmc controller.
Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
---
drivers/mmc/host/jz4740_mmc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index a1f92fed2a55b..736238ea2236c 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -1058,6 +1058,7 @@ static int jz4740_mmc_probe(struct platform_device* pdev)
if (ret == -EPROBE_DEFER)
goto err_free_irq;
host->use_dma = !ret;
+ host->use_dma = false;
platform_set_drvdata(pdev, host);
ret = mmc_add_host(mmc);
--
2.26.2
More information about the Letux-kernel
mailing list