[3.19.y-ckt stable] Patch "mmc: sdhci-pci: set the clear transfer mode register quirk for O2Micro" has been added to staging queue
Kamal Mostafa
kamal at canonical.com
Mon Oct 19 22:39:40 UTC 2015
This is a note to let you know that I have just added a patch titled
mmc: sdhci-pci: set the clear transfer mode register quirk for O2Micro
to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree
which can be found at:
http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-queue
This patch is scheduled to be released in version 3.19.8-ckt8.
If you, or anyone else, feels it should not be added to this tree, please
reply to this email.
For more information about the 3.19.y-ckt tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable
Thanks.
-Kamal
------
>From 8e7c75faf889e6908bbbd20e3e809c924d7cfb0c Mon Sep 17 00:00:00 2001
From: Adam Lee <adam.lee at canonical.com>
Date: Mon, 3 Aug 2015 14:33:28 +0800
Subject: mmc: sdhci-pci: set the clear transfer mode register quirk for
O2Micro
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.
Signed-off-by: Peter Guo <peter.guo at bayhubtech.com>
Signed-off-by: Adam Lee <adam.lee at canonical.com>
Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
drivers/mmc/host/sdhci-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 4f38554..4df5700 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -549,6 +549,7 @@ static int jmicron_resume(struct sdhci_pci_chip *chip)
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,
};
--
1.9.1
More information about the kernel-team
mailing list