aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2011-01-27 17:44:34 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-01-27 22:06:12 +0000
commitf5a106d9e2a5d947e106c3caace373ded1a695ed (patch)
tree495864e9dccb92ea383e2d6608c4f291989d8c29 /tools/perf/util/scripting-engines/trace-event-python.c
parentMerge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (diff)
downloadwireguard-linux-f5a106d9e2a5d947e106c3caace373ded1a695ed.tar.xz
wireguard-linux-f5a106d9e2a5d947e106c3caace373ded1a695ed.zip
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions