Skip to content

Commit 115ed5c

Browse files
author
Ulf Hansson
committed
mmc: Merge branch fixes into next
Merge the mmc fixes for v6.16-rc[n] into the next branch, to allow them to get tested together with the new mmc changes that are targeted for v6.17. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2 parents 7531f57 + dcc3bcf commit 115ed5c

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

drivers/mmc/host/sdhci.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,15 +2065,10 @@ void sdhci_set_clock(struct sdhci_host *host, unsigned int clock)
20652065

20662066
host->mmc->actual_clock = 0;
20672067

2068-
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
2069-
if (clk & SDHCI_CLOCK_CARD_EN)
2070-
sdhci_writew(host, clk & ~SDHCI_CLOCK_CARD_EN,
2071-
SDHCI_CLOCK_CONTROL);
2068+
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
20722069

2073-
if (clock == 0) {
2074-
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
2070+
if (clock == 0)
20752071
return;
2076-
}
20772072

20782073
clk = sdhci_calc_clk(host, clock, &host->mmc->actual_clock);
20792074
sdhci_enable_clk(host, clk);

0 commit comments

Comments
 (0)