Linus Walleij f5a106d9e2 ARM: 6642/1: mmci: calculate remaining bytes at error correctly
The MMCIDATACNT register contain the number of byte left at error
not the number of words, so loose the << 2 thing. Further if CRC
fails on the first block, we may end up with a negative number
of transferred bytes which is not good, and the formula was in
wrong order.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-01-27 22:06:12 +00:00
..
2011-01-13 08:03:09 -08:00
2011-01-20 21:37:29 +10:30
2011-01-17 11:15:30 -08:00
2010-12-04 11:18:25 -05:00
2011-01-12 04:59:44 -05:00
2011-01-26 10:50:00 +10:00
2011-01-12 05:14:15 -05:00