]> git.baikalelectronics.ru Git - kernel.git/commit
USB: documentation update for the pre_reset method
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 28 Apr 2011 14:45:24 +0000 (10:45 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 00:24:29 +0000 (17:24 -0700)
commit77f385ccf7eb3f9f85ef4dfaffe8a2c573bf3411
tree68ebcb03c7d9fc1caf9205d96943ce46d0a08c4c
parent0a36e22f58193a03f18a8b92fa22e1f8077f925e
USB: documentation update for the pre_reset method

This patch (as1459) updates the documentation for the pre_reset method
in struct usb_driver.  When a driver is notified of an impending
reset, it must cancel all outstanding I/O and not start any new I/O
until it has been notified that the reset is complete.

As far as I know, most existing drivers that implement pre_reset do
this now.  The major exceptions appear to be the SpeedTouch and
CDC-WDM drivers.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/usb/callbacks.txt
include/linux/usb.h