summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorShinobu Uehara <shinobu.uehara.xc@renesas.com>2014-04-25 18:14:17 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2016-02-29 11:03:04 +0100
commitff741cfde98bd867eb4c9477bc9ba0df3507eed8 (patch)
treef51fd0fc399071d69f3d464a778d72742020f624 /drivers/mmc
parent254d1456560fa42d4ca901c9b9308e87c951fee1 (diff)
downloadop-kernel-dev-ff741cfde98bd867eb4c9477bc9ba0df3507eed8.zip
op-kernel-dev-ff741cfde98bd867eb4c9477bc9ba0df3507eed8.tar.gz
mmc: sdhi: Add EXT_ACC register busy check
All the docs I have access to say that this register needs the bus busy check. Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@renesas.com> Signed-off-by: Ai Kyuse <ai.kyuse.uw@renesas.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index 354f4f3..61671f3 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -163,6 +163,7 @@ static int sh_mobile_sdhi_write16_hook(struct tmio_mmc_host *host, int addr)
case CTL_SD_MEM_CARD_OPT:
case CTL_TRANSACTION_CTL:
case CTL_DMA_ENABLE:
+ case EXT_ACC:
return sh_mobile_sdhi_wait_idle(host);
}
OpenPOWER on IntegriCloud