summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2014-04-18 13:00:20 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:27:44 -0700
commit71728d8db1686f38faaef0f07326d2aaff753a01 (patch)
treebb7501b341bb070a018d33e3c77436250e1793e2 /include/linux
parente3a22cb14423fa5189393214e55ad50db03b7710 (diff)
mmc: core: fix issue with sleep cmd that follows an RPMB access
If the last access to eMMC before runtime/system suspend is an RPMB access, the partition type within EXT_CSD[179] will be set to RPMB. As per specification, the deselect CMD7 and sleep CMD5 are ignored by the card and are treated as illegal commands in this state. This causes eMMC sleep command to timeout and thus fails runtime/system suspend. Hence, switch to default partition config before sending deselect CMD7 and sleep CMD5. CRs-fixed: 630894 Change-Id: I40f3fb590aeba787de8ca3356a8eed5f2780bcc1 Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org> [subhashj@codeaurora.org: fixed merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions