ACK (partial): [Trusty/Utopic/Vivid/Wily][PATCH] mmc: sdhci-pci: set the clear transfer mode register quirk for O2Micro
Tim Gardner
tim.gardner at canonical.com
Fri Sep 11 13:28:52 UTC 2015
On 09/10/2015 11:31 PM, Adam Lee wrote:
> BugLink: https://bugs.launchpad.net/bugs/1472843
>
> 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>
> Cc: stable <stable at vger.kernel.org>
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
> (cherry picked from commit 143b648ddf1583905fa15d32be27a31442fc7933)
> Signed-off-by: Adam Lee <adam.lee 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 0955777..0339120 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -517,6 +517,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,
> };
>
How is this going to compile in Trusty and Utopic ?
SDHCI_QUIRK2_CLEAR_TRANSFERMODE_REG_BEFORE_CMD was not introduced until
3.19, nor do I see any backports of that commit in Trusty/Utopic(LTS).
rtg
--
Tim Gardner tim.gardner at canonical.com
More information about the kernel-team
mailing list