]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: fix up CMD12 sending
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 14 Nov 2019 11:18:14 +0000 (19:18 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Dec 2019 11:29:36 +0000 (12:29 +0100)
commit0a166fc4ff7f1bcd1da58cbbab86ce2b58a5d720
tree5d570d943f0098cfca8a5668a62fa6143d23e008
parent6d86eb232a484246cf49f0da272810fbab982994
mmc: sdhci: fix up CMD12 sending

The STOP command is disabled for multiple blocks r/w commands
with auto CMD12, when start to send. However, if there is data
error, software still needs to send CMD12 according to SD spec.
This patch is to allow software CMD12 sending for this case.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20191114111814.35199-1-yangbo.lu@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c