aboutsummaryrefslogtreecommitdiffstats
path: root/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5728-mmc-core-Move-calls-to-prepare_hs400_tuning-closer-t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5728-mmc-core-Move-calls-to-prepare_hs400_tuning-closer-t.patch')
-rw-r--r--meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5728-mmc-core-Move-calls-to-prepare_hs400_tuning-closer-t.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5728-mmc-core-Move-calls-to-prepare_hs400_tuning-closer-t.patch b/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5728-mmc-core-Move-calls-to-prepare_hs400_tuning-closer-t.patch
deleted file mode 100644
index e4c306b0..00000000
--- a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5728-mmc-core-Move-calls-to-prepare_hs400_tuning-closer-t.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 5a52cf8e775283cd8bb279baa6039e7c168fa1da Mon Sep 17 00:00:00 2001
-From: Ulf Hansson <ulf.hansson@linaro.org>
-Date: Tue, 22 May 2018 16:26:26 +0200
-Subject: [PATCH 5728/5758] mmc: core: Move calls to ->prepare_hs400_tuning()
- closer to mmc code
-
-Move the calls to ->prepare_hs400_tuning(), from mmc_retune() into
-mmc_hs400_to_hs200(), as it better belongs there, rather than being generic
-to all type of cards.
-
-Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
-Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
----
- drivers/mmc/core/host.c | 3 ---
- drivers/mmc/core/mmc.c | 4 ++++
- 2 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
-index ad88deb..4651e9b 100644
---- a/drivers/mmc/core/host.c
-+++ b/drivers/mmc/core/host.c
-@@ -148,9 +148,6 @@ int mmc_retune(struct mmc_host *host)
- goto out;
-
- return_to_hs400 = true;
--
-- if (host->ops->prepare_hs400_tuning)
-- host->ops->prepare_hs400_tuning(host, &host->ios);
- }
-
- err = mmc_execute_tuning(host->card);
-diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
-index 29bba1e..c768d08 100755
---- a/drivers/mmc/core/mmc.c
-+++ b/drivers/mmc/core/mmc.c
-@@ -1283,6 +1283,10 @@ int mmc_hs400_to_hs200(struct mmc_card *card)
-
- mmc_set_bus_speed(card);
-
-+ /* Prepare tuning for HS400 mode. */
-+ if (host->ops->prepare_hs400_tuning)
-+ host->ops->prepare_hs400_tuning(host, &host->ios);
-+
- return 0;
-
- out_err:
---
-2.7.4
-