From: Alan Stern Date: Tue, 3 Sep 2013 17:58:43 +0000 (-0400) Subject: USB: see if URB comes from a completion handler X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~186 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7ccde6eac6d3c4bc6110cc3fd76ef3823bc0831;p=pandora-kernel.git 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 CC: Ming Lei Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed