diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-30 16:06:53 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-31 05:53:37 -0500 |
commit | 613b152c63e35095a929f9bb80441cbe91ff5e80 (patch) | |
tree | 0427d88375de0be5f4f11dae661e5405d32d3431 /arch/arm/mach-shmobile/include/mach/mmcif-ap4eb.h | |
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>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/mmcif-ap4eb.h')
0 files changed, 0 insertions, 0 deletions