diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-07-21 07:49:49 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-27 05:48:44 -0400 |
commit | 528320db013b687c5f0150fd77eb4dc02ca328d1 (patch) | |
tree | b41c684bd16c2466f949229d55c2d11b48f61552 /drivers/mmc | |
parent | 4ce1d6cbf07271ab8f7cc47c3e27edeac08b58a7 (diff) |
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/mmc')
-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 d63d7565f896..ddcfc4c7e6ac 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) | |||
120 | data->blksz, data->blocks, data->flags); | 120 | data->blksz, data->blocks, data->flags); |
121 | 121 | ||
122 | host->data = data; | 122 | host->data = data; |
123 | host->size = data->blksz; | 123 | host->size = data->blksz * data->blocks; |
124 | host->data_xfered = 0; | 124 | host->data_xfered = 0; |
125 | 125 | ||
126 | mmci_init_sg(host, data); | 126 | mmci_init_sg(host, data); |