Skip to content

Commit 09c2b62

Browse files
benchuang710storulf
authored andcommitted
mmc: sdhci-uhs2: Fix calling incorrect sdhci_set_clock() function
Fix calling incorrect sdhci_set_clock() in __sdhci_uhs2_set_ios() when the vendor defines its own sdhci_set_clock(). Fixes: 10c8298 ("mmc: sdhci-uhs2: add set_ios()") Cc: stable@vger.kernel.org # v6.13+ Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 7b7e716 commit 09c2b62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mmc/host/sdhci-uhs2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ static void __sdhci_uhs2_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
295295
else
296296
sdhci_uhs2_set_power(host, ios->power_mode, ios->vdd);
297297

298-
sdhci_set_clock(host, ios->clock);
298+
host->ops->set_clock(host, ios->clock);
299299
host->clock = ios->clock;
300300
}
301301

0 commit comments

Comments
 (0)