From: Pierre Ossman Date: Mon, 30 Jul 2007 15:15:07 +0000 (+0200) Subject: sdio: change clock speed X-Git-Tag: v2.6.24-rc1~1464^2~34 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6db5020e7386ddf17378f91eb8c445433e5b07cd;p=linux-2.6 sdio: change clock speed Change clock speed to the highest supported by the card. Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index 1fb36a3404..62df8e1775 100644 --- 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. */