summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gdth_proc.c
diff options
context:
space:
mode:
authorAndiry Xu <andiry.xu@amd.com>2010-12-20 15:09:34 +0800
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-01-14 15:51:55 -0800
commit50f7b52a83a893929edf87a89ebc081ff26a7b91 (patch)
tree8cf753001566c0b925bee66c9458a30d96b94b49 /drivers/scsi/gdth_proc.c
parente1eab2e00015bfe48388920ff287efdbefb6af24 (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 'drivers/scsi/gdth_proc.c')
0 files changed, 0 insertions, 0 deletions