diff options
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); |