]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/mmc/core/sdio.c
mmc: sdio: fix resume failure due to lack of CMD52 reset
authorSubhash Jadavani <subhashj@codeaurora.org>
Tue, 4 Dec 2012 11:36:18 +0000 (17:06 +0530)
committerChris Ball <cjb@laptop.org>
Mon, 11 Feb 2013 17:51:22 +0000 (12:51 -0500)
commit51aa66a58494f869f491eedda86c409c50536c14
treeeb07d3ad3baa92e9832329bec03e105f861cfa35
parent7810cc1e7721220f1ed2a23ca95113d6434f6dcd
mmc: sdio: fix resume failure due to lack of CMD52 reset

If SDIO keep power flag (MMC_PM_KEEP_POWER) is not set, card would
be reinitialized during resume but as we are not resetting
(CMD52 reset) the SDIO card during this reinitialization, card may
fail to respond back to subsequent commands (CMD5 etc...).

This change resets the card before the reinitialization of card
during resume.

Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio.c