]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commite6f29a8dc1602e170daf955233891a9130573a55
treee63c6bae4b61e4251c5f3f25605192b9720d4bc7
parent080bc9774b6f1e3866747b18631bad26f47c22ce
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