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

Commit 33db861f authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

mmc: core: fix debugfs path to read ext_csd



After reading ext_csd, the host is not claimed while
doing unhalt if the card is in CQ mode. This may race
with RPMB context which tries to halt and disable CQ
in the card. This may unhalt the controller while RPMB
is still going on, resulting in software request timeout
for RPMB commands that are supposed to be sent in
legacy mode with controller in halt state.

Fix this by claiming the host till the unhalt is done
in mmc_ext_csd_open() so as to prevent race with RPMB
context.

CRs-Fixed: 935719
Change-Id: I6d2738b21c3cd44c8fb6c99f63291059d5b18ee1
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 2be5ff68
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