android_kernel_xiaomi_sm8350/include/linux/mmc
David Vrabel f3c65b2870 mmc: avoid getting CID on SDIO-only cards
The introduction of support for SD combo cards breaks the initialization
of all CSR SDIO chips.  The GO_IDLE (CMD0) in mmc_sd_get_cid() causes CSR
chips to be reset (this is non-standard behavior).

When initializing an SDIO card check for a combo card by using the memory
present bit in the R4 response to IO_SEND_OP_COND (CMD5).  This avoids the
call to mmc_sd_get_cid() on an SDIO-only card.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Acked-by: Michal Mirolaw <mirq-linux@rere.qmqm.pl>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-09-09 18:57:22 -07:00
..
card.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
core.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
host.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
mmc.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
pm.h
sd.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
sdhci-spear.h
sdio_func.h
sdio_ids.h
sdio.h mmc: avoid getting CID on SDIO-only cards 2010-09-09 18:57:22 -07:00
sh_mmcif.h