diff options
| author | 2011-02-04 09:19:46 +0000 | |
|---|---|---|
| committer | 2011-02-04 13:25:41 +0000 | |
| commit | c8afc9d59ce1100d3f7704e86fda5a25361c45bf (patch) | |
| tree | 759b6215b7c067f249a03dfd7e283a9e5b6856e1 /include/linux/timerqueue.h | |
| parent | ARM: mmci: round down the bytes transferred on error (diff) | |
| download | linux-dev-c8afc9d59ce1100d3f7704e86fda5a25361c45bf.tar.xz linux-dev-c8afc9d59ce1100d3f7704e86fda5a25361c45bf.zip | |
ARM: mmci: avoid reporting too many completed bytes on fifo overrun
The data counter counts the number of bytes transferred on the MMC bus.
When a FIFO overrun occurs, we will not have transferred a FIFOs-worth
of data to memory, and so the data counter will be a FIFOs-worth ahead.
If this occurs on a block boundary, we will report one too many sectors
as successful. Fix this.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
