Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 067c9e12 authored by Konstantin Dorfman's avatar Konstantin Dorfman
Browse files

mmc: core: halt CQE before suspend and un-halt CQE on resume



To execute legacy SDHCi suspend/resume flow, CQE should be halted, because
suspend flow uses legacy SDHCi commands (cmd6 flush and cmd5 sleep)
commands.
On resume, there is full card initialization and both the card and the
controller will be in CQ mode after resume. Still need to update CQE state
by cleaning halt bit.
This change implemented in helpers, that are used by both system and
runtime suspend/resume callbacks.

Change-Id: I2ae9b19e2cbde04366e7ecf06377a5efd81e3f26
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent d5c05a31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment