]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - drivers/mmc/sdhci.c
Revert "mmc: sdhci: set to INT_DATA_END when there are data"
[thirdparty/u-boot.git] / drivers / mmc / sdhci.c
index 2f78da61beb16510d118f4c3df7a673a0cb6f66c..03bfd9d18aea1f78edc71e2fe406a807a2823cd4 100644 (file)
@@ -258,8 +258,7 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
                flags = SDHCI_CMD_RESP_LONG;
        else if (cmd->resp_type & MMC_RSP_BUSY) {
                flags = SDHCI_CMD_RESP_SHORT_BUSY;
-               if (data)
-                       mask |= SDHCI_INT_DATA_END;
+               mask |= SDHCI_INT_DATA_END;
        } else
                flags = SDHCI_CMD_RESP_SHORT;