]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: fix detection of memory part of SD-combo card with broken SDIO
authorMichal Miroslaw <mirq-linux@rere.qmqm.pl>
Thu, 2 Dec 2010 22:38:12 +0000 (23:38 +0100)
committerChris Ball <cjb@laptop.org>
Sun, 9 Jan 2011 03:48:37 +0000 (22:48 -0500)
commit04a150e592b8343b4c11b1f1d2ee8b67da9682fb
treee63c6bae4b61e4251c5f3f25605192b9720d4bc7
parent96a0a0ad43ef230233b702f28ce62f73fa42eab2
mmc: fix detection of memory part of SD-combo card with broken SDIO

In case of failure, mmc_attach_sdio() will power off the SD bus.
Power it up and reinitialize before trying SD memory detection.

Reported-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c