From aa8f612370edf2fd29ec137f7070b11d98df539b Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 30 Nov 2012 11:54:40 +0100 Subject: [PATCH] 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-format-patch failed