David Vrabel 3444b26afa USB: add reset endpoint operations
Wireless USB endpoint state has a sequence number and a current
window and not just a single toggle bit.  So allow HCDs to provide a
endpoint_reset method and call this or clear the software toggles as
required (after a clear halt, set configuration etc.).

usb_settoggle() and friends are then HCD internal and are moved into
core/hcd.h and all device drivers call usb_reset_endpoint() instead.

If the device endpoint state has been reset (with a clear halt) but
the host endpoint state has not then subsequent data transfers will
not complete. The device will only work again after it is reset or
disconnected.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-04-17 10:50:27 -07:00
..
2009-04-17 10:50:27 -07:00
2009-04-13 15:04:32 -07:00
2009-04-13 15:04:34 -07:00
2009-04-13 15:04:29 -07:00
2009-04-08 14:13:04 +02:00
2009-04-08 00:00:33 -07:00
2009-04-17 10:50:27 -07:00
2009-04-17 10:50:27 -07:00
2009-04-05 00:32:25 +02:00
2009-04-13 15:04:33 -07:00
2009-04-14 19:46:19 -07:00
2009-04-13 15:04:30 -07:00
2009-04-17 10:50:27 -07:00
2009-04-13 15:04:32 -07:00
2009-04-05 00:32:22 +02:00
2009-04-08 14:25:51 -07:00