diff options
Diffstat (limited to 'drivers/mmc/core/sdio.c')
-rw-r--r-- | drivers/mmc/core/sdio.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index c5baf76146b2..1fb36a340468 100644 --- a/drivers/mmc/core/sdio.c +++ b/drivers/mmc/core/sdio.c | |||
@@ -66,7 +66,7 @@ static int sdio_init_func(struct mmc_card *card, unsigned int fn) | |||
66 | if (ret) | 66 | if (ret) |
67 | goto fail; | 67 | goto fail; |
68 | 68 | ||
69 | ret = sdio_read_cis(func); | 69 | ret = sdio_read_func_cis(func); |
70 | if (ret) | 70 | if (ret) |
71 | goto fail; | 71 | goto fail; |
72 | 72 | ||
@@ -287,6 +287,13 @@ int mmc_attach_sdio(struct mmc_host *host, u32 ocr) | |||
287 | goto remove; | 287 | goto remove; |
288 | 288 | ||
289 | /* | 289 | /* |
290 | * Read the common CIS tuples. | ||
291 | */ | ||
292 | err = sdio_read_common_cis(card); | ||
293 | if (err) | ||
294 | goto remove; | ||
295 | |||
296 | /* | ||
290 | * Initialize (but don't add) all present functions. | 297 | * Initialize (but don't add) all present functions. |
291 | */ | 298 | */ |
292 | for (i = 0;i < funcs;i++) { | 299 | for (i = 0;i < funcs;i++) { |