projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22bfc97
)
sdio: change clock speed
author
Pierre Ossman
<drzeus@drzeus.cx>
Mon, 30 Jul 2007 15:15:07 +0000
(17:15 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Sun, 23 Sep 2007 19:14:09 +0000
(21:14 +0200)
Change clock speed to the highest supported by the card.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/sdio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/core/sdio.c
b/drivers/mmc/core/sdio.c
index 1fb36a340468803237224c18012feaa6317af5aa..62df8e177585b9668629faacf3f5564a6b259990 100644
(file)
--- a/
drivers/mmc/core/sdio.c
+++ b/
drivers/mmc/core/sdio.c
@@
-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.
*/