Skip to content

Commit 80c7482

Browse files
yangbolu1991storulf
authored andcommitted
mmc: sdhci-of-esdhc: fix serious issue clock is always disabled
This patch is to fix a serious issue that clock is always disabled in esdhc_of_set_clock(). Fixes: 1b21a70 ("mmc: sdhci-of-esdhc: fix clock setting for different controller versions") Signed-off-by: Yangbo Lu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 429d939 commit 80c7482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/sdhci-of-esdhc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ static void esdhc_of_set_clock(struct sdhci_host *host, unsigned int clock)
748748
esdhc_clock_enable(host, false);
749749
esdhc_flush_async_fifo(host);
750750
}
751-
esdhc_clock_enable(host, false);
751+
esdhc_clock_enable(host, true);
752752
}
753753

754754
static void esdhc_pltfm_set_bus_width(struct sdhci_host *host, int width)

0 commit comments

Comments
 (0)