The kernel version of linux-postmarketos-allwinner is older than six months. It has been a month since the warning issue was made, so this device must be demoted. See pmaports#4676 [ci:skip-vercheck] [ci:skip-kconfigcheck] Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9248>
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From 1088e841606c683b6f56c06b4fc7cb927525467b Mon Sep 17 00:00:00 2001
|
|
From: Jernej Skrabec <jernej.skrabec@siol.net>
|
|
Date: Sat, 24 Aug 2019 01:36:44 +0200
|
|
Subject: [PATCH] eMMC workaround
|
|
|
|
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
|
|
---
|
|
drivers/mmc/host/sunxi-mmc.c | 8 +++++---
|
|
1 file changed, 5 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c
|
|
index e224ec77cd41..97702ec1d6b3 100644
|
|
--- a/drivers/mmc/host/sunxi-mmc.c
|
|
+++ b/drivers/mmc/host/sunxi-mmc.c
|
|
@@ -1433,15 +1433,17 @@ static int sunxi_mmc_probe(struct platform_device *pdev)
|
|
MMC_CAP_SDIO_IRQ;
|
|
|
|
/*
|
|
- * Some H5 devices do not have signal traces precise enough to
|
|
- * use HS DDR mode for their eMMC chips.
|
|
+ * Some H5 and H6 devices do not have signal traces precise
|
|
+ * enough to use HS DDR mode for their eMMC chips.
|
|
*
|
|
* We still enable HS DDR modes for all the other controller
|
|
* variants that support them.
|
|
*/
|
|
if ((host->cfg->clk_delays || host->use_new_timings) &&
|
|
!of_device_is_compatible(pdev->dev.of_node,
|
|
- "allwinner,sun50i-h5-emmc"))
|
|
+ "allwinner,sun50i-h5-emmc") &&
|
|
+ !of_device_is_compatible(pdev->dev.of_node,
|
|
+ "allwinner,sun50i-h6-emmc"))
|
|
mmc->caps |= MMC_CAP_1_8V_DDR | MMC_CAP_3_3V_DDR;
|
|
|
|
ret = mmc_of_parse(mmc);
|
|
--
|
|
2.52.0
|
|
|