USB documentation: explain lifetime rules for unlinking URBs
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 28 Mar 2012 20:13:28 +0000 (16:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Apr 2012 20:54:00 +0000 (13:54 -0700)
commitda8bfb090c2b30af9f3879443355f7eb1d0fe10a
tree377d67c3c0cc1ad40d7357f821712c4c9ba6c639
parentbcf398537630bf20b4dbe59ba855b69f404c93cf
USB documentation: explain lifetime rules for unlinking URBs

This patch (as1534c) updates the documentation for usb_unlink_urb and
related functions.  It explains that the caller must prevent the URB
being unlinked from getting deallocated while the unlink is taking
place.

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>
Documentation/usb/URB.txt
drivers/usb/core/urb.c