diff options
author | Andiry Xu <andiry.xu@amd.com> | 2010-12-20 15:09:34 +0800 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-01-14 15:51:55 -0800 |
commit | 50f7b52a83a893929edf87a89ebc081ff26a7b91 (patch) | |
tree | 8cf753001566c0b925bee66c9458a30d96b94b49 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | e1eab2e00015bfe48388920ff287efdbefb6af24 (diff) |
xHCI: fix cycle bit set in giveback_first_trb()
giveback_first_trb() controls the cycle bit set of the start_trb, to ensure
that the start_trb is written last and the host controller will receive a
whole td at a time.
However, if the ring is wrapped and cycle bit is toggled to zero, then
giveback_first_trb() will be of no effect. In this case, set the cycle bit of
start_trb to 1 at the beginning and clear it in giveback_first_trb().
Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions