mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
Revert "mmc: sdio: Add high speed support to sdio_reset_comm()"
This reverts commit 25c29cc964.
This commit is contained in:
parent
d91a4e589b
commit
aaf1ce7cc0
|
|
@ -661,28 +661,7 @@ int sdio_reset_comm(struct mmc_card *card)
|
|||
goto err;
|
||||
}
|
||||
|
||||
/*
|
||||
* Switch to high-speed (if supported).
|
||||
*/
|
||||
err = sdio_enable_hs(card);
|
||||
if (err)
|
||||
goto err;
|
||||
|
||||
/*
|
||||
* Change to the card's maximum speed.
|
||||
*/
|
||||
if (mmc_card_highspeed(card)) {
|
||||
/*
|
||||
* The SDIO specification doesn't mention how
|
||||
* the CIS transfer speed register relates to
|
||||
* high-speed, but it seems that 50 MHz is
|
||||
* mandatory.
|
||||
*/
|
||||
mmc_set_clock(host, 50000000);
|
||||
} else {
|
||||
mmc_set_clock(host, card->cis.max_dtr);
|
||||
}
|
||||
|
||||
mmc_set_clock(host, card->cis.max_dtr);
|
||||
err = sdio_enable_wide(card);
|
||||
if (err)
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user