diff options
author | Kuninori Morimoto <[email protected]> | 2013-07-23 23:12:41 -0700 |
---|---|---|
committer | Simon Horman <[email protected]> | 2013-07-31 10:10:17 +0900 |
commit | 3c4d9276626c93477af0b0b9d46b4dcb37e2eed2 (patch) | |
tree | 2b0e90112bfc90870094b08cb460db443a0d2779 /tools/perf/scripts/python | |
parent | 16b551dd22cc7edacb952f7a2e175f36c3aa4bdb (diff) |
shdma: fixup sh_dmae_get_partial() calculation error
sh_desc->hw.tcr is controlling real data size,
and, register TCR is controlling data transfer count
which was xmit_shifted value of hw.tcr.
Current sh_dmae_get_partial() is calculating in different unit.
This patch fixes it.
This bug has been present since c014906a870ce70e009def0c9d170ccabeb0be63
("dmaengine: shdma: extend .device_terminate_all() to record partial
transfer"), which was added in 2.6.34-rc1.
Cc: Vinod Koul <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Acked-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions