|
@@ -184,7 +184,8 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
|
|
flags = SDHCI_CMD_RESP_LONG;
|
|
flags = SDHCI_CMD_RESP_LONG;
|
|
else if (cmd->resp_type & MMC_RSP_BUSY) {
|
|
else if (cmd->resp_type & MMC_RSP_BUSY) {
|
|
flags = SDHCI_CMD_RESP_SHORT_BUSY;
|
|
flags = SDHCI_CMD_RESP_SHORT_BUSY;
|
|
- mask |= SDHCI_INT_DATA_END;
|
|
|
|
|
|
+ if (data)
|
|
|
|
+ mask |= SDHCI_INT_DATA_END;
|
|
} else
|
|
} else
|
|
flags = SDHCI_CMD_RESP_SHORT;
|
|
flags = SDHCI_CMD_RESP_SHORT;
|
|
|
|
|