aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mshci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/mshci.c')
-rw-r--r--drivers/mmc/host/mshci.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/mmc/host/mshci.c b/drivers/mmc/host/mshci.c
index 9431405..45997c5 100644
--- a/drivers/mmc/host/mshci.c
+++ b/drivers/mmc/host/mshci.c
@@ -1134,7 +1134,7 @@ static void mshci_request(struct mmc_host *mmc, struct mmc_request *mrq)
/* We shouldn't wait for data inihibit for stop commands, even
though they might use busy signaling */
- if (mrq->cmd->opcode == 12) {
+ if ((mrq->cmd->opcode == 12) || (mrq->cmd->opcode == 13)) {
/* nothing to do */
} else {
for (;;) {
@@ -1619,7 +1619,8 @@ static void mshci_cmd_irq(struct mshci_host *host, u32 intmask)
/* to notify an error happend */
host->error_state = 1;
#if defined(CONFIG_MACH_M0) || defined(CONFIG_MACH_P4NOTE) || \
- defined(CONFIG_MACH_C1_USA_ATT)
+ defined(CONFIG_MACH_C1_USA_ATT) \
+ || defined(CONFIG_MACH_GRANDE) || defined(CONFIG_MACH_IRON)
if (host->mmc && host->mmc->card)
mshci_dumpregs(host);
#endif
@@ -1704,7 +1705,8 @@ static void mshci_data_irq(struct mshci_host *host, u32 intmask, u8 intr_src)
/* to notify an error happend */
host->error_state = 1;
#if defined(CONFIG_MACH_M0) || defined(CONFIG_MACH_P4NOTE) || \
- defined(CONFIG_MACH_C1_USA_ATT)
+ defined(CONFIG_MACH_C1_USA_ATT) \
+ || defined(CONFIG_MACH_GRANDE) || defined(CONFIG_MACH_IRON)
if (host->mmc && host->mmc->card)
mshci_dumpregs(host);
#endif