mirror of https://gitee.com/openkylin/linux.git
mmc: bfin_sdh: remove the MMC_DATA_STREAM flag
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>
This commit is contained in:
parent
fd551d940f
commit
c52f762447
|
@ -126,9 +126,6 @@ static int sdh_setup_data(struct sdh_host *host, struct mmc_data *data)
|
|||
length = data->blksz * data->blocks;
|
||||
bfin_write_SDH_DATA_LGTH(length);
|
||||
|
||||
if (data->flags & MMC_DATA_STREAM)
|
||||
data_ctl |= DTX_MODE;
|
||||
|
||||
if (data->flags & MMC_DATA_READ)
|
||||
data_ctl |= DTX_DIR;
|
||||
/* Only supports power-of-2 block size */
|
||||
|
|
Loading…
Reference in New Issue