+ if (!(host->caps2 & MMC_CAP2_NO_SDIO)) + sdio_reset(host); + mmc_go_idle(host); mmc_send_if_cond(host, host->ocr_avail); /* Order's important: probe SDIO, then SD, then MMC */ - if (!mmc_attach_sdio(host)) - return 0; + if (!(host->caps2 & MMC_CAP2_NO_S...
sh_mmcif_init_ocr(host); mmc->caps|=MMC_CAP_MMC_HIGHSPEED|MMC_CAP_WAIT_WHILE_BUSY; mmc->caps2|=MMC_CAP2_NO_SD|MMC_CAP2_NO_SDIO; if(pd&&pd->caps) mmc->caps|=pd->caps; mmc->max_segs=32; Expand Down