mmc: core: reset sdio card properly on resume.
authorNeilBrown <neilb@suse.de>
Wed, 12 Nov 2014 03:55:19 +0000 (14:55 +1100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 26 Nov 2014 13:30:59 +0000 (14:30 +0100)
commit006fc51cb3ab42960fa4f246c772ad12e45a3a9b
tree8e0df6c55a6cc8cc11e2061f07f14f35360f3fc7
parent59b6c9e0ad9f2578ff8b2ef8c718bcb8b895fefb
mmc: core: reset sdio card properly on resume.

mmc_sdio_power_restore() calls
mmc_send_if_cond(host, host->card->ocr);

ret = mmc_send_io_op_cond(host, 0, NULL);

between mmc_go_idle() and mmc_sdio_init_card().
mmc_sdio_resume() needs to as well, else my libertas sdio wifi
device doesn't resume properly from suspend.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio.c