]> 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)
commitdc754ac89b98b28307eabe09beae723d2285e24f
tree5d570d943f0098cfca8a5668a62fa6143d23e008
parent520e04699799aba3ff720622094bc2e054c19cf7
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