Skip to contentSkip to conversation

Patch "Revert "mmc: sdhci: Reset cmd and data circuits after tuning failure"" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 6, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

Revert "mmc: sdhci: Reset cmd and data circuits after tuning failure"

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
revert-mmc-sdhci-reset-cmd-and-data-circuits-after-tuning-failure.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 2ca71c27eeaeddae38efe24a84b20e22708a3d1d Mon Sep 17 00:00:00 2001

From: Adrian Hunter <[email protected]>
Date: Fri, 2 Dec 2016 15:14:19 +0200
Subject: Revert "mmc: sdhci: Reset cmd and data circuits after tuning failure"

From: Adrian Hunter <[email protected]>

commit 2ca71c27eeaeddae38efe24a84b20e22708a3d1d upstream.

This reverts commit fe5fb2e3b58f ("mmc: sdhci: Reset cmd and data circuits after tuning failure").

A better fix is available, and it will be applied to older stable releases, so get this out of the way by reverting it.

---
 drivers/mmc/host/sdhci.c |    4 ----
 1 file changed, 4 deletions(-)
drivers/mmc/host/sdhci.c +0 -4
@@ -2086,10 +2086,6 @@ static int sdhci_execute_tuning(struct m
 
 		if (!host->tuning_done) {
 			pr_info(DRIVER_NAME ": Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock\n");
-
-			sdhci_do_reset(host, SDHCI_RESET_CMD);
-			sdhci_do_reset(host, SDHCI_RESET_DATA);
-
 			ctrl = sdhci_readw(host, SDHCI_HOST_CONTROL2);
 			ctrl &= ~SDHCI_CTRL_TUNED_CLK;
 			ctrl &= ~SDHCI_CTRL_EXEC_TUNING;

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/mmc-sdhci-fix-recovery-from-tuning-timeout.patch queue-4.9/revert-mmc-sdhci-reset-cmd-and-data-circuits-after-tuning-failure.patch