projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ce1d6c
)
ARM: 6238/1: mmci: fix multi block transfers
author
Rabin Vincent
<rabin.vincent@stericsson.com>
Wed, 21 Jul 2010 11:49:49 +0000
(12:49 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 27 Jul 2010 09:48:44 +0000
(10:48 +0100)
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>
drivers/mmc/host/mmci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/mmci.c
b/drivers/mmc/host/mmci.c
index d63d7565f896ecc82a0d674a0f3b9ad87438b375..ddcfc4c7e6ac22ab03f60fbbdbfcd7e206eb4f8a 100644
(file)
--- 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);