From: Gerd Hoffmann Date: Fri, 30 Nov 2012 10:54:40 +0000 (+0100) Subject: uas: new function to cancel data urbs X-Git-Tag: v3.9-rc1~126^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa8f612370edf2fd29ec137f7070b11d98df539b;p=pandora-kernel.git uas: new function to cancel data urbs Add uas_unlink_data_urbs function to cancel in-flight data urbs. Moves existing code into a separate function. [ v2: also drop the locking, just call usb_unlink_urb no matter what, which is safe because the usb core guarantees the completion callback is called only once ] Signed-off-by: Gerd Hoffmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed