mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
Revert "drivers: mmc: Fix minimal frequency assignment"
This reverts commit 79fe672673.
This commit is contained in:
@@ -894,7 +894,12 @@ static void mmc_power_up(struct mmc_host *host)
|
||||
*/
|
||||
mmc_delay(10);
|
||||
|
||||
host->ios.clock = host->f_min;
|
||||
if (host->f_min > 400000) {
|
||||
pr_warning("%s: Minimum clock frequency too high for "
|
||||
"identification mode\n", mmc_hostname(host));
|
||||
host->ios.clock = host->f_min;
|
||||
} else
|
||||
host->ios.clock = 400000;
|
||||
|
||||
host->ios.power_mode = MMC_POWER_ON;
|
||||
mmc_set_ios(host);
|
||||
|
||||
Reference in New Issue
Block a user