]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sh_mmcif: Use response type to know when to enable busy detection
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 21 Jun 2016 13:12:48 +0000 (15:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:23 +0000 (10:34 +0200)
commit5b1c29bceea1ac2dccf5dcd9ae29a221082f1a7a
treec0d878cb5f7b7d28a1f3e0de3d4b3b2789e5c14b
parentdab3a28b4005ecf4b6b380a8929c36de2c07a175
mmc: sh_mmcif: Use response type to know when to enable busy detection

The sh_mmcif explicity checks for certain commands to decide when to
enable HW busy detection. Instead, it should only check the response type
as it tells if busy detection is needed.

In this way, the mmc core also gets full control whether it thinks busy
detection should be done or not. In some specific scenarios, like for
ERASE and STOP commands it may decide to fall back to use a CMD13 to poll
the card status instead.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c