Skip to content
Commit fe72d08a authored by Bean Huo's avatar Bean Huo Committed by Ulf Hansson
Browse files

mmc: core: Issue HPI in case the BKOPS timed out



If the BKOPS timed out, the card is probably still busy in the
R1_STATE_PRG. Rather than continue as nothing has happened and hitting and
error for the next command being sent, let's try to abort the running BKOPS
by sending a HPI command to get back into R1_STATE_TRAN.

Signed-off-by: default avatarBean Huo <beanhuo@micron.com>
Link: https://lore.kernel.org/r/20210817224208.153652-2-huobean@gmail.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent f6f60707
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment