android_kernel_xiaomi_sm8350/drivers/usb/core
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
..
buffer.c
config.c
devices.c USB: drivers: use USB API functions rather than constants 2009-03-24 16:20:28 -07:00
devio.c USB: add reset endpoint operations 2009-04-17 10:50:27 -07:00
driver.c
endpoint.c USB: drivers: use USB API functions rather than constants 2009-03-24 16:20:28 -07:00
file.c
generic.c
hcd-pci.c
hcd.c USB: add reset endpoint operations 2009-04-17 10:50:27 -07:00
hcd.h USB: add reset endpoint operations 2009-04-17 10:50:27 -07:00
hub.c USB: more u32 conversion after transfer_buffer_length and actual_length 2009-03-24 16:20:45 -07:00
hub.h
inode.c
Kconfig
Makefile
message.c USB: add reset endpoint operations 2009-04-17 10:50:27 -07:00
notify.c
otg_whitelist.h
quirks.c USB: add quirk to avoid config and interface strings 2009-03-24 16:20:25 -07:00
sysfs.c USB: add quirk to avoid config and interface strings 2009-03-24 16:20:25 -07:00
urb.c USB: more u32 conversion after transfer_buffer_length and actual_length 2009-03-24 16:20:45 -07:00
usb.c USB: add reset endpoint operations 2009-04-17 10:50:27 -07:00
usb.h