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

Skip to content
Commit 2589a250 authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

mmc: core: Set reset done after hw reset



Set hw reset flag as done after sdcc hw reset else
hw reset as part of recovery happens only once.

md->reset_done flag is set inside mmc_blk_reset function with
flag MMC_BLK_CQE_RECOVERY. And this flag is cleared only
inside function mmc_blk_reset_success. But since mmc_blk_reset
and mmc_blk_reset_success are used with if else condition, code
flow can execute only one of the function, hence if mmc_blk_reset
is executed and not cleared within mmc_blk_reset_success, next
mmc_blk_reset call returns without resetting the hw.

Change-Id: I14915ae26240769b45cec8d2793e5f8604062eef
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent 6e5cc9ee
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