Message ID | CANEJEGvMjqSj26C2c_rWdG+oqQMnqjASSsWZwZz1+O732kpU3w@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/drivers/mmc/core/sdio_ops.c +++ b/drivers/mmc/core/sdio_ops.c @@ -209,6 +209,10 @@ int sdio_reset(struct mmc_host *host) int ret; u8 abort; + /* SD and MMC cards will ignore this reset. So don't bother. */ + if (host->card && !mmc_card_sdio(host->card)) + return 0; + /* SDIO Simplified Specification V2.0, 4.4 Reset for SDIO */ ret = mmc_io_rw_direct_host(host, 0, 0, SDIO_CCCR_ABORT, 0, &abort);