Commit fd551d94 authored by Jaehoon Chung's avatar Jaehoon Chung Committed by Ulf Hansson

mmc: atmel-mci: remove the MMC_DATA_STREAM flag

Remove the MMC_DATA_STREAM flag because it isn't used anymore.
Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent aed26fca
...@@ -848,9 +848,7 @@ static u32 atmci_prepare_command(struct mmc_host *mmc, ...@@ -848,9 +848,7 @@ static u32 atmci_prepare_command(struct mmc_host *mmc,
if (cmd->opcode == SD_IO_RW_EXTENDED) { if (cmd->opcode == SD_IO_RW_EXTENDED) {
cmdr |= ATMCI_CMDR_SDIO_BLOCK; cmdr |= ATMCI_CMDR_SDIO_BLOCK;
} else { } else {
if (data->flags & MMC_DATA_STREAM) if (data->blocks > 1)
cmdr |= ATMCI_CMDR_STREAM;
else if (data->blocks > 1)
cmdr |= ATMCI_CMDR_MULTI_BLOCK; cmdr |= ATMCI_CMDR_MULTI_BLOCK;
else else
cmdr |= ATMCI_CMDR_BLOCK; cmdr |= ATMCI_CMDR_BLOCK;
...@@ -1371,10 +1369,7 @@ static void atmci_start_request(struct atmel_mci *host, ...@@ -1371,10 +1369,7 @@ static void atmci_start_request(struct atmel_mci *host,
host->stop_cmdr |= ATMCI_CMDR_STOP_XFER; host->stop_cmdr |= ATMCI_CMDR_STOP_XFER;
if (!(data->flags & MMC_DATA_WRITE)) if (!(data->flags & MMC_DATA_WRITE))
host->stop_cmdr |= ATMCI_CMDR_TRDIR_READ; host->stop_cmdr |= ATMCI_CMDR_TRDIR_READ;
if (data->flags & MMC_DATA_STREAM) host->stop_cmdr |= ATMCI_CMDR_MULTI_BLOCK;
host->stop_cmdr |= ATMCI_CMDR_STREAM;
else
host->stop_cmdr |= ATMCI_CMDR_MULTI_BLOCK;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment