Commit 6b1eb250 authored by Bob Liu's avatar Bob Liu Committed by Mike Frysinger

[#6454]mmc:bfin: using single block

Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
parent 14a005a9
......@@ -114,7 +114,7 @@ static int sdh_setup_data(struct mmc *mmc, struct mmc_data *data)
u16 data_ctl = 0;
u16 dma_cfg = 0;
int ret = 0;
unsigned long data_size = data->blocksize * data->blocks;
unsigned long data_size = data->blocksize;
/* Don't support write yet. */
if (data->flags & MMC_DATA_WRITE)
......
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