From: Sebastian Andrzej Siewior Date: Wed, 29 Feb 2012 22:04:32 +0000 (+0100) Subject: usb/core: remove "always" from usb_unlink_urb() kernel doc entry X-Git-Tag: v3.4-rc1~184^2~22^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=371f3b49f2cb1a8b6ac09b6b108841ca92349eb1;p=pandora-kernel.git usb/core: remove "always" from usb_unlink_urb() kernel doc entry The kernel doc entry for usb_unlink_urb() contains the phrase "This request is always asynchronous.". The "always" leads to the assumption that the ->complete() callback is not called from within usb_unlink_urb(). This is not true. The HCD is allowed to call the ->complete() from within ->urb_dequeue() if it is appropriate for the hardware. This patch updates the kernel doc so usb-device driver authors make sure to drop all locks (and make sure it is okay to drop them) which are acquired by the complete callback before calling usb_unlink_urb(). Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed