Commit d73d525c authored by Subhash Jadavani's avatar Subhash Jadavani Committed by Neha Pandey
Browse files

mmc: sdio: fix resume failure



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.

(cherry picked from commit 2679307563a616af7ab189706604a245c6a3be92)
CRs-Fixed: 424805

Change-Id: I1ccd93e9221de631a407064219793e7378ac8f31
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: default avatarNeha Pandey <nehap@codeaurora.org>
parent 67710374
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment