]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: sunxi-mmc: remove the MMC_DATA_STREAM flag
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 1 Feb 2016 12:07:34 +0000 (21:07 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:03:02 +0000 (11:03 +0100)
Remove the MMC_DATA_STREAM flag because it isn't used anymore.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c

index 2aee17cd85aee447377323b0a70e87174607aec3..8372a413848c19f8ed61e8c38e6a3b8ebb0a4ba7 100644 (file)
@@ -878,11 +878,6 @@ static void sunxi_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
 
                if ((cmd->flags & MMC_CMD_MASK) == MMC_CMD_ADTC) {
                        cmd_val |= SDXC_DATA_EXPIRE | SDXC_WAIT_PRE_OVER;
-                       if (cmd->data->flags & MMC_DATA_STREAM) {
-                               imask |= SDXC_AUTO_COMMAND_DONE;
-                               cmd_val |= SDXC_SEQUENCE_MODE |
-                                          SDXC_SEND_AUTO_STOP;
-                       }
 
                        if (cmd->data->stop) {
                                imask |= SDXC_AUTO_COMMAND_DONE;