]> git.baikalelectronics.ru Git - kernel.git/commit
USB: UHCI: accept very late isochronous URBs
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 24 Sep 2013 19:47:20 +0000 (15:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 00:05:34 +0000 (17:05 -0700)
commitda39d93f3bd1e0892dc7171641b71c64cd4d0f25
treea4e3f3938c30eba177af4ab3378dc66c92af7136
parentc5d8e881fd7667ce801a42183ce5771f95de3a2f
USB: UHCI: accept very late isochronous URBs

Commit f33afb20c2fa (USB: EHCI: accept very late isochronous URBs)
changed the isochronous API provided by ehci-hcd.  URBs submitted too
late, so that the time slots for all their packets have already
expired, are no longer rejected outright.  Instead the submission is
accepted, and the URB completes normally with a -EXDEV error for each
packet.  This is what client drivers expect.

This patch implements the same policy in uhci-hcd.  It should be
applied to all kernels containing commit d31742a05e7d (UHCI: implement
new semantics for URB_ISO_ASAP).

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/uhci-q.c