diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-07-21 11:49:49 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-27 09:48:44 (GMT) |
commit | 528320db013b687c5f0150fd77eb4dc02ca328d1 (patch) | |
tree | b41c684bd16c2466f949229d55c2d11b48f61552 /drivers | |
parent | 4ce1d6cbf07271ab8f7cc47c3e27edeac08b58a7 (diff) | |
download | linux-528320db013b687c5f0150fd77eb4dc02ca328d1.tar.xz |
ARM: 6238/1: mmci: fix multi block transfers
Fix the data transfer size to allow multi block transfers to work.
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/mmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index d63d756..ddcfc4c 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -120,7 +120,7 @@ static void mmci_start_data(struct mmci_host *host, struct mmc_data *data) data->blksz, data->blocks, data->flags); host->data = data; - host->size = data->blksz; + host->size = data->blksz * data->blocks; host->data_xfered = 0; mmci_init_sg(host, data); |