Skip to contentSkip to conversation

Patch "mmc: sdhci-pci: set the clear transfer mode register quirk for O2Micro" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Sep 26, 2015

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

mmc: sdhci-pci: set the clear transfer mode register quirk for O2Micro

to the 4.1-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:
mmc-sdhci-pci-set-the-clear-transfer-mode-register-quirk-for-o2micro.patch
and it can be found in the queue-4.1 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 143b648ddf1583905fa15d32be27a31442fc7933 Mon Sep 17 00:00:00 2001

From: Adam Lee <[email protected]>
Date: Mon, 3 Aug 2015 14:33:28 +0800
Subject: mmc: sdhci-pci: set the clear transfer mode register quirk for O2Micro

From: Adam Lee <[email protected]>

commit 143b648ddf1583905fa15d32be27a31442fc7933 upstream.

This patch fixes MMC not working issue on O2Micro/BayHub Host, which requires transfer mode register to be cleared when sending no DMA command.

---
 drivers/mmc/host/sdhci-pci.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/sdhci-pci.c +1 -0
@@ -549,6 +549,7 @@ static int jmicron_resume(struct sdhci_p
 static const struct sdhci_pci_fixes sdhci_o2 = {
 	.probe = sdhci_pci_o2_probe,
 	.quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
+	.quirks2 = SDHCI_QUIRK2_CLEAR_TRANSFERMODE_REG_BEFORE_CMD,
 	.probe_slot = sdhci_pci_o2_probe_slot,
 	.resume = sdhci_pci_o2_resume,
 };

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

queue-4.1/mmc-sdhci-pci-set-the-clear-transfer-mode-register-quirk-for-o2micro.patch