mmc: sdio: reset card during power_restore
authorDaniel Drake <dsd@laptop.org>
Sat, 25 Jun 2011 18:20:11 +0000 (19:20 +0100)
committerChris Ball <cjb@laptop.org>
Sat, 25 Jun 2011 22:52:44 +0000 (18:52 -0400)
commitc6e633ad916e2af244dbfd11abd2bc077870bdfd
treebbede7dde592280dd1e76add67b1cc3f1afe3619
parente9e8bcb8178e197d889ec31e79fa1ddc1732c8f9
mmc: sdio: reset card during power_restore

mmc_sdio_power_restore() skips some steps that are performed in other
power-related codepaths which are necessary to fully reset the card.
Without this, runtime PM fails for SD8686 SDIO wifi on OLPC XO-1.5.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio.c