summaryrefslogtreecommitdiff
path: root/drivers/scsi/gdth_proc.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-10-11 19:28:12 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-12 03:37:46 +0400
commite24371a6be9c5c00b56607bd425cc409cba75d88 (patch)
tree1983383adb655434cb7014d9bdc8d4b487590e73 /drivers/scsi/gdth_proc.h
parent63fb3a280061c5a1d9190015e5a074213f9d23c0 (diff)
downloadlinux-e24371a6be9c5c00b56607bd425cc409cba75d88.tar.xz
USB: EHCI: check the right uframes for CSPLIT
The check_intr_schedule() routine in ehci-hcd looks at the wrong microframes when checking to see if a full-speed or low-speed interrupt endpoint will fit in the periodic schedule. If the Start-Split transaction is scheduled for microframe N then the Complete-Split transactions get scheduled for microframes N+2, N+3, and N+4. However the code considers N+1, N+2, and N+3 instead. This patch fixes the limits on the "for" loop and also improves the use of whitespace. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/gdth_proc.h')
0 files changed, 0 insertions, 0 deletions