mirror of
https://github.com/armbian/build.git
synced 2025-08-12 14:16:57 +02:00
* sunxi-5.19: Initial state for megous patches * Add the ability to do 5.19 * Move to 5.19 - tested both - removed broken Opi Zero xradio driver https://armbian.atlassian.net/browse/AR-1280 * sunxi-5.19: fix tag for switch * sunxi-5.19: Initial state for armbian patches * sunxi-5.19: Add armbian patches to series.conf file * sanxi-5.19: Add other 2 patches * sunxi-5.19: Limit to use the 'wireless/xradio' module Limit the kernel version to less than 5.19 to use the 'wireless/xradio' module Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
39 lines
1.0 KiB
Diff
39 lines
1.0 KiB
Diff
From b17c65c452edebc0cb67605fd24a1ac0a0a1269f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
|
Date: Fri, 16 Mar 2018 20:31:55 +0100
|
|
Subject: [PATCH 015/417] 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 <megi@xff.cz>
|
|
---
|
|
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 89cd48fce..47a61e48d 100644
|
|
--- a/drivers/mmc/core/mmc.c
|
|
+++ b/drivers/mmc/core/mmc.c
|
|
@@ -1833,6 +1833,8 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,
|
|
*/
|
|
mmc_select_powerclass(card);
|
|
|
|
+ msleep(20);
|
|
+
|
|
/*
|
|
* Enable HPI feature (if supported)
|
|
*/
|
|
@@ -1851,6 +1853,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.35.3
|
|
|