]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/core/sdio.c
sdio: initial CIS parsing code
[linux-2.6-omap-h63xx.git] / drivers / mmc / core / sdio.c
index be623856f288cbb92e6cad85441639afc7ef4f8d..c5baf76146b2755e5d8bfd2b73a2e5c14306734c 100644 (file)
@@ -22,6 +22,7 @@
 #include "mmc_ops.h"
 #include "sd_ops.h"
 #include "sdio_ops.h"
+#include "sdio_cis.h"
 
 static int sdio_read_fbr(struct sdio_func *func)
 {
@@ -65,6 +66,10 @@ static int sdio_init_func(struct mmc_card *card, unsigned int fn)
        if (ret)
                goto fail;
 
+       ret = sdio_read_cis(func);
+       if (ret)
+               goto fail;
+
        card->sdio_func[fn - 1] = func;
 
        return 0;