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
..
2010-12-21 11:46:32 -08:00
2009-06-13 22:43:01 +02:00
2010-12-21 11:46:48 -08:00
2010-11-01 15:38:34 -04:00
2011-01-26 00:28:41 -05:00
2010-10-23 21:11:21 +08:00
2009-06-13 22:42:58 +02:00
2011-01-09 19:16:18 -05:00
2011-01-08 23:52:24 -05:00
2011-01-08 23:52:24 -05:00
2010-10-23 21:11:11 +08:00
2011-01-25 21:53:51 -05:00
2011-01-13 10:05:56 -08:00
2011-01-08 23:52:24 -05:00
2010-10-23 21:11:22 +08:00
2011-01-27 22:06:12 +00:00
2011-01-24 15:23:00 +00:00
2011-01-21 16:57:55 -08:00
2010-12-20 12:28:32 -08:00
2010-10-23 21:11:11 +08:00
2009-03-24 21:30:03 +01:00
2011-01-08 22:45:36 -05:00
2010-05-18 16:10:44 -06:00
2011-01-07 16:58:04 -08:00
2010-12-24 16:00:17 +01:00
2010-10-23 21:11:16 +08:00
2010-10-23 21:11:11 +08:00
2009-10-01 16:11:15 -07:00
2010-10-23 21:11:21 +08:00
2011-01-08 21:48:48 -05:00
2010-11-07 17:52:27 -05:00
2010-10-23 21:11:22 +08:00
2011-01-14 00:22:44 -07:00
2010-10-23 21:11:22 +08:00
2010-05-27 09:12:40 -07:00
2009-12-17 15:45:32 -08:00
2011-01-08 23:52:20 -05:00
2011-01-08 23:52:23 -05:00
2011-01-08 23:52:23 -05:00
2010-11-22 15:12:04 -05:00
2011-01-26 00:27:57 -05:00
2010-05-27 09:12:40 -07:00
2011-01-08 23:52:23 -05:00
2011-01-08 23:52:23 -05:00
2011-01-08 23:52:09 -05:00
2010-11-01 15:38:34 -04:00
2011-01-05 16:57:42 +09:00
2010-10-23 21:11:11 +08:00
2011-01-08 23:52:32 -05:00
2011-01-25 21:53:43 -05:00
2010-10-23 21:11:11 +08:00
2010-10-23 21:11:11 +08:00