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

Skip to content
Commit ced8fc1a authored by Sarthak Garg's avatar Sarthak Garg
Browse files

Revert "mmc: core: Disable cqe during runtime suspend"



This reverts commit aa3b72e3.
Revert this commit to avoid disabling cqe during mmc suspend.
Upon device suspend driver is freeing cqhci task descriptor
dma memory and upon resume driver is again allocating the tdl
memory. But in low memory situation, if allocation fails mmc
driver would be unable to process any request coming from swap
and hence device might hang.

Just use cqhci_suspend function which only disables CQE and
would avoid these deallocations/reallocations.

Change-Id: I7c73cb578189fcb903c91bb555d9b103d098451a
Signed-off-by: default avatarSarthak Garg <sartgarg@codeaurora.org>
parent 8376a76a
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