Commit 5a386c60 authored by Yaniv Gardi's avatar Yaniv Gardi Committed by Neha Pandey
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 spesifically.(mmc_blk_issue_sanitize_rq)

Change-Id: Ia3e3737f4bad149edc2248b8a30d74a9bd812be1
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
(cherry picked from commit 9a87427db940047907aee0dc86965645656f1ca9)
Signed-off-by: default avatarNeha Pandey <nehap@codeaurora.org>
parent 89c52809
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment