mirror of
https://github.com/armbian/build.git
synced 2025-08-12 06:06:58 +02:00
* Rework patches for sunxi 5.15.4 * Rework patches sunxi for 5.15.5 * Kernel switch tag=v5.15.5 for sunxi EDGE * Temporarily disabled, requires rework. drivers/clk/sunxi-ng/sun8i-de33.c: In function ‘sunxi_de33_clk_probe’: drivers/clk/sunxi-ng/sun8i-de33.c:155:8: error: implicit declaration of function ‘sunxi_ccu_probe’; did you mean ‘of_sunxi_ccu_probe’? [-Werror=implicit-function-declarati> ret = sunxi_ccu_probe(pdev->dev.of_node, reg, ccu_desc); ^~~~~~~~~~~~~~~ of_sunxi_ccu_probe cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:277: drivers/clk/sunxi-ng/sun8i-de33.o] Error 1 make[2]: *** [scripts/Makefile.build:540: drivers/clk/sunxi-ng] Error 2 * Correct the comment.
39 lines
1.0 KiB
Diff
39 lines
1.0 KiB
Diff
From 0c1d59398dbb829cb1443775b456a2d73f98b5c7 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Fri, 16 Mar 2018 20:31:55 +0100
|
|
Subject: [PATCH 141/467] mmc: add delay after power class selection
|
|
|
|
This seems to fix issue with sporadic ETIMEOUT in eMMC cache
|
|
initialization on second generation TBS A711 tablet.
|
|
|
|
Signed-off-by: Ondrej Jirman <megous@megous.com>
|
|
---
|
|
drivers/mmc/core/mmc.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
|
|
index 29e58ffae..82d58d9ec 100644
|
|
--- a/drivers/mmc/core/mmc.c
|
|
+++ b/drivers/mmc/core/mmc.c
|
|
@@ -1798,6 +1798,8 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,
|
|
*/
|
|
mmc_select_powerclass(card);
|
|
|
|
+ msleep(20);
|
|
+
|
|
/*
|
|
* Enable HPI feature (if supported)
|
|
*/
|
|
@@ -1816,6 +1818,8 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,
|
|
}
|
|
}
|
|
|
|
+ msleep(20);
|
|
+
|
|
/*
|
|
* If cache size is higher than 0, this indicates the existence of cache
|
|
* and it can be turned on. Note that some eMMCs from Micron has been
|
|
--
|
|
2.34.0
|
|
|