mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-25 00:01:35 +00:00
1, format all patches from https://github.com/megous/linux `git format-patch 79bf89b88a87f2ebf147f76d8c40183283b49b51...2a7cb228d29c3882c1414c10a44c5f3f59bfa44d` and copy them to sunxi-next with prefix `0000-` 2, remove unnecessary patches, due to they are revert of upstream patches:4d867e2bd6
4e674a3000
b8e05fe47e
8bb8175edd
a2888276ee
3, remove fail to apply and no use:960ddd63a8
4, remove WireGuard patch:1cd13b836c
5, remove meaningless patch:f26e36379a
6, remove merged or included by megous/linux patches: 0112-mfd-axp20x-Add-supported-cells-for-AXP803.patch board-bpi-m3-make-ethernet-working.patch board-pine-h6-pine-h6-0025-phy-sun4i-usb-add-support-for-missing-USB-PHY-index.patch 7, remove stable release update patches. ignored. 8, rebase sunxi-next/sunxi64-next to upstream linux-4.19.y test result: all patches applied, no error. orangepipc/orangpioneplus build OK. Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
38 lines
1 KiB
Diff
38 lines
1 KiB
Diff
From 2fecbde6fd1e7de568f19caaed3e0db75ac2d585 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Fri, 16 Mar 2018 20:31:55 +0100
|
|
Subject: [PATCH 67/82] 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 f1fe446eee66..b29991135375 100644
|
|
--- a/drivers/mmc/core/mmc.c
|
|
+++ b/drivers/mmc/core/mmc.c
|
|
@@ -1770,6 +1770,8 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,
|
|
*/
|
|
mmc_select_powerclass(card);
|
|
|
|
+ msleep(20);
|
|
+
|
|
/*
|
|
* Enable HPI feature (if supported)
|
|
*/
|
|
@@ -1789,6 +1791,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.20.1
|
|
|