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

Commit ad160c8d authored by Maya Erez's avatar Maya Erez
Browse files

mmc: card: fix timeout on erase/trim command due to sanitize



Sanitize command should never be issued with timeout argument of 0,
cause then it invokes timeout.
Moreover, sanitize command should not be called from routines that
does erase/trim/secure-discard commands, but only from a routine that
issues the sanitize specifically.(mmc_blk_issue_sanitize_rq)

Change-Id: I2fc9d17d876de3440f7cdee5fce0158a919c7c6f
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
parent 6c644c0f
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