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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 14:48:41 +0000 (19:48 +0530)
commit5e1e4029669604096c162f484c6af4f4b788a71b
tree423e0fd56585f96423d8685d3fd6932932754fbf
parente6484e76abab3db218e899aea30e66b62265132c
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