summaryrefslogtreecommitdiff
path: root/include/keys
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-05-14 21:57:51 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-15 21:42:45 +0400
commit815fa7b917614261748d1ecd9600ff27f99508e5 (patch)
treed7f02412eaabbf21faa91ca44366d8be76147537 /include/keys
parente1944017839d7dfbf7329fac4bdec8b4050edf5e (diff)
downloadlinux-815fa7b917614261748d1ecd9600ff27f99508e5.tar.xz
USB: OHCI: fix logic for scheduling isochronous URBs
The isochronous scheduling logic in ohci-hcd has a bug. The calculation for skipping TDs that are too late should be carried out only in the !URB_ISO_ASAP case. When URB_ISO_ASAP is set, the URB is pushed back so that none of the TDs are too late, which would cause the calculation to overflow. The patch also fixes the calculation to avoid overflow in the case where the frame value wraps around. This should be applied to -stable kernels going back to 3.8. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions