mmc: core: Do not poll for busy with status cmd for all switch cmds
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 9 Sep 2013 09:57:57 +0000 (11:57 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 31 Oct 2013 00:26:24 +0000 (20:26 -0400)
Some switch operations like poweroff notify, shall according to the
spec not be followed by any other new commands. For these cases and
when the host does'nt support MMC_CAP_WAIT_WHILE_BUSY, we must not
send status commands to poll for busy detection. Instead wait for
the stated timeout from the EXT_CSD before completing the request.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found