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

Commit 4457076d authored by Ritesh Harjani's avatar Ritesh Harjani
Browse files

mmc: core: cmdq helper for reset and claim host context



This patch does following-

This adds an API(mmc_cmdq_hw_reset), for RESET_ALL
of SDHCI, power cycle mmc card and
reintialize it, which enables cmdq as well(if supported).

This acquires claim_host before calling mmc_power_restore.
mmc_power_restore should be called with claim_host acquired,
since this function is required from non-claim-host context in
cmdq error handling.

Change-Id: I31c4449dead1d4ad4e10a4822cce2298ec5fb4b6
Signed-off-by: default avatarRitesh Harjani <riteshh@codeaurora.org>
parent 9edfde01
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