From: Pierre Ossman Date: Fri, 30 Jun 2006 09:22:30 +0000 (-0700) Subject: [MMC] sdhci: reset sdhci controller early X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d96649ed5ace812ffc8d86252d7c663326ca47f8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [MMC] sdhci: reset sdhci controller early The specification states that the capabilities register might need a reset to get correct values after boot up. Signed-off-by: Pierre Ossman Signed-off-by: Andrew Morton Signed-off-by: Russell King --- diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index e37c8149249f..06dec744d53e 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -1132,6 +1132,8 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot) goto release; } + sdhci_reset(host, SDHCI_RESET_ALL); + version = readw(host->ioaddr + SDHCI_HOST_VERSION); version = (version & SDHCI_SPEC_VER_MASK) >> SDHCI_SPEC_VER_SHIFT; if (version != 0) {