mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
Handle SET_ADDRESS directly when each controller receives SETUP, before passing other requests to the core. Cancel transfers, send the status response in the driver and queue usb_core_notify_set_address(); the core only updates its address/configuration state. Remove usb_drv_set_address and avoid a request callback from the core back into the controller. Keep status completions for this driver-owned request out of the core EP0 state machine. ARC writes DEVICEADDR and notifies after successful status IN completion; other controllers retain their existing register/status ordering or automatic address handling. Use IRQ-local operations on DesignWare rather than helpers which unconditionally re-enable its IRQ. Take the low seven bits of wValue; do not impose new validation on the unspecified wIndex/wLength fields. Convert all eleven firmware backends; the separate hwstub API is unchanged. Change-Id: I7b96275df90c14ef4a9954f04ac6fdc004ec8d6c |
||
|---|---|---|
| .. | ||
| iap | ||
| usb_audio.c | ||
| usb_audio.h | ||
| usb_audio_def.h | ||
| usb_charging_only.c | ||
| usb_charging_only.h | ||
| usb_class_driver.h | ||
| usb_core.c | ||
| usb_hid.c | ||
| usb_hid.h | ||
| usb_hid_def.h | ||
| usb_hid_usage_tables.h | ||
| usb_iap.c | ||
| usb_iap.h | ||
| usb_serial.c | ||
| usb_serial.h | ||
| usb_storage.c | ||
| usb_storage.h | ||