|
@@ -157,7 +157,6 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
|
|
|
/* Timeout unit - ms */
|
|
|
static unsigned int cmd_timeout = SDHCI_CMD_DEFAULT_TIMEOUT;
|
|
|
|
|
|
- sdhci_writel(host, SDHCI_INT_ALL_MASK, SDHCI_INT_STATUS);
|
|
|
mask = SDHCI_CMD_INHIBIT | SDHCI_DATA_INHIBIT;
|
|
|
|
|
|
/* We shouldn't wait for data inihibit for stop commands, even
|
|
@@ -181,6 +180,8 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
|
|
|
udelay(1000);
|
|
|
}
|
|
|
|
|
|
+ sdhci_writel(host, SDHCI_INT_ALL_MASK, SDHCI_INT_STATUS);
|
|
|
+
|
|
|
mask = SDHCI_INT_RESPONSE;
|
|
|
if (!(cmd->resp_type & MMC_RSP_PRESENT))
|
|
|
flags = SDHCI_CMD_RESP_NONE;
|