diff options
Diffstat (limited to 'drivers/mmc/at91_mci.c')
-rw-r--r-- | drivers/mmc/at91_mci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/at91_mci.c b/drivers/mmc/at91_mci.c index 88f0eef9cf33..42284e1d4628 100644 --- a/drivers/mmc/at91_mci.c +++ b/drivers/mmc/at91_mci.c | |||
@@ -411,7 +411,7 @@ static unsigned int at91_mci_send_command(struct at91mci_host *host, struct mmc_ | |||
411 | } | 411 | } |
412 | 412 | ||
413 | if (data) { | 413 | if (data) { |
414 | block_length = 1 << data->blksz_bits; | 414 | block_length = data->blksz; |
415 | blocks = data->blocks; | 415 | blocks = data->blocks; |
416 | 416 | ||
417 | /* always set data start - also set direction flag for read */ | 417 | /* always set data start - also set direction flag for read */ |