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
..
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-08-23 02:29:26 +02:00
2005-04-16 15:20:36 -07:00
2008-08-23 02:29:26 +02:00
2008-04-20 19:10:17 -04:00
2005-04-16 15:20:36 -07:00
2006-11-30 05:24:39 +01:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:15 -07:00
2005-04-16 15:20:36 -07:00
2007-08-21 10:14:28 -07:00
2008-04-20 18:22:30 -04:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:54:02 -08:00
2005-04-16 15:20:36 -07:00
2006-11-22 14:57:56 +00:00
2006-07-10 13:24:15 -07:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:15 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-08-23 02:29:26 +02:00
2005-04-16 15:20:36 -07:00