From: Shinobu Uehara Date: Fri, 25 Apr 2014 09:14:17 +0000 (+0900) Subject: mmc: sdhi: Add EXT_ACC register busy check X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ff741cfde98bd867eb4c9477bc9ba0df3507eed8;p=linux-beck.git 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 Signed-off-by: Ai Kyuse Signed-off-by: Wolfram Sang Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 354f4f335ed5..61671f3fa09a 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); }