mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
sdio: change clock speed
Change clock speed to the highest supported by the card. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
parent
22bfc979d3
commit
6db5020e73
1 changed files with 6 additions and 0 deletions
|
@ -293,6 +293,12 @@ int mmc_attach_sdio(struct mmc_host *host, u32 ocr)
|
|||
if (err)
|
||||
goto remove;
|
||||
|
||||
/*
|
||||
* No support for high-speed yet, so just set
|
||||
* the card's maximum speed.
|
||||
*/
|
||||
mmc_set_clock(host, card->cis.max_dtr);
|
||||
|
||||
/*
|
||||
* Initialize (but don't add) all present functions.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue