commit | 613b152c63e35095a929f9bb80441cbe91ff5e80 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Jan 30 21:06:53 2011 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Jan 31 10:53:37 2011 +0000 |
tree | 0427d88375de0be5f4f11dae661e5405d32d3431 | |
parent | ccff9b51825b7335889b780bdf7de84ca803e291 [diff] |
ARM: mmci: round down the bytes transferred on error 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>