mmc: msm_sdcc: use the command timeout value
Few SD/MMC commands (like erase etc...) have specification
defined maximum busy time after the command is issued to card.
This busy time value is passed as cmd_timeout_ms parameter to
host controller driver.
Currently MSM SDCC host controller driver is ignoring this parameter
and sets the request timeout for any request to default 10 sec timeout.
But as few commands may have the command timeout value (busy time)
more than current default request timeout value, this change make sure
that request timeout value gets set to maximum of command timeout value
and default request timeout value.
Change-Id: I16ea6c2545e6b89178fae051d2fa2924414f9789
Signed-off-by:
Subhash Jadavani <subhashj@codeaurora.org>
Loading
Please sign in to comment