mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
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: 10c8298a05 ("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>
This commit is contained in:
parent
7b7e71683b
commit
09c2b628f6
|
|
@ -295,7 +295,7 @@ static void __sdhci_uhs2_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
|
|||
else
|
||||
sdhci_uhs2_set_power(host, ios->power_mode, ios->vdd);
|
||||
|
||||
sdhci_set_clock(host, ios->clock);
|
||||
host->ops->set_clock(host, ios->clock);
|
||||
host->clock = ios->clock;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user