]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sdio: fully reconfigure oldcard on resume
authorOhad Ben-Cohen <ohad@wizery.com>
Sat, 2 Oct 2010 11:54:05 +0000 (13:54 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:17 +0000 (21:11 +0800)
commit9b966aae6419f7d75a87114c4d82bfb8f8699132
tree9b1f422df8442550b209c477cb3d97337cb3aaf6
parent1978fda85dfdb53623dddb4ec126163a61ab3933
mmc: sdio: fully reconfigure oldcard on resume

On resume, let mmc_sdio_init_card go all the way, instead
of skipping the reconfiguration of the card's speed and width.

This is needed to ensure cards wake up with their clock
reconfigured (otherwise it's kept low).

This patch also removes the explicit bus width reconfiguration
on resume, since now this is part of mmc_sdio_init_card.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Tested-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio.c