zephyr/subsys/usb
Tomasz Moń e326c58399 usb: device: Do not cancel transfers on suspend
Cancelling transfers on suspend contradicts Universal Serial Bus
Specification Revision 2.0, 9.1.1.6 Suspended:
  * When suspended, the USB device maintains any internal status,
    including its address and configuration.

The internal status definitely includes any pending USB transfers.
If there is a class that wants to cancel transfer on suspend, then the
cancel should be initiated by the class, not the device stack itself.

Update hal_nordic to a version that does not abort all endpoints at
suspend. It seems that aborting endpoints on suspend in nrfx driver was
the actual reason why transfers were canceled on suspend.

Remove transfer retriggering on resume from CDC ACM and Bluetooth class
implementations because transfers are no longer cancelled on suspend.
Other classes do not have any suspend related workarounds implemented.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-01-18 11:48:13 +01:00
..
device usb: device: Do not cancel transfers on suspend 2023-01-18 11:48:13 +01:00
device_next usb: device_next: remove workaround for the UDC enqueue bug 2023-01-11 17:44:50 +01:00
host usb: host: add port power and port reset USB hub features 2022-12-16 13:21:12 +01:00
usb_c usb_c: Fix comments before "else" statements 2023-01-11 18:55:18 +01:00
CMakeLists.txt usb: add initial USB host support 2022-12-16 13:21:12 +01:00