ARM: mmci: round down the bytes transferred on error
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 30 Jan 2011 21:06:53 +0000 (21:06 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 31 Jan 2011 10:53:37 +0000 (10:53 +0000)
We should not report incomplete blocks on error.  Return the number of
bytes successfully transferred, rounded down to the nearest block.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found