sdio: recognize io card without powercycle
authorAlbert Herranz <albert_herranz@yahoo.es>
Wed, 10 Mar 2010 23:20:37 +0000 (15:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:28 +0000 (15:52 -0800)
commit516a82422209e078345d0ca54b16793d7bfd4782
treec0f44619451e3ae5d40f6cacd953a5ad209412e3
parentd0ab4a4d5094e5d17b103dc5073529a04f00a469
sdio: recognize io card without powercycle

SDIO Simplified Specification V2.00 states that it is strongly recommended
that the host executes either a power reset or issues a CMD52 (I/O Reset)
to re-initialize an I/O only card or the I/O portion of a combo card.
Additionally, the CMD52 must be issued first because it cannot be issued
after a CMD0.

With this patch the Nintendo Wii SDIO-based WLAN card is detected after a
system reset, without requiring a complete system powercycle.

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/core/core.c
drivers/mmc/core/sdio_ops.c
drivers/mmc/core/sdio_ops.h