summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-09-03 19:58:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-17 18:49:24 +0200
commitc7ccde6eac6d3c4bc6110cc3fd76ef3823bc0831 (patch)
treef5221b8296a245cb9f3e3f84801b1d5d8feb12f9 /drivers/usb/host
parentLinux 3.12-rc1 (diff)
downloadlinux-c7ccde6eac6d3c4bc6110cc3fd76ef3823bc0831.tar.xz
linux-c7ccde6eac6d3c4bc6110cc3fd76ef3823bc0831.zip
USB: see if URB comes from a completion handler
Now that URBs can be completed inside tasklets, we need a way of determining whether a completion handler for a given endpoint is currently running. Otherwise it's not possible to maintain the API guarantee about keeping isochronous streams synchronous when an underrun occurs. This patch adds a field and a routine to check whether a completion handler for a periodic endpoint is running. At the moment no analogous routine appears to be necessary for async endpoints, but one can always be added. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions