zephyr/subsys/usb/device/class
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
..
audio usb: audio: do not discard usb_transfer result in usb_audio_send() 2022-11-21 20:11:24 +01:00
dfu usb: dfu: Schedule timer handler from USB workqueue 2023-01-04 10:33:35 +01:00
hid usb: device: hid: correct bcdHID to v1.11 spec 2022-12-21 12:20:55 +01:00
netusb usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
bluetooth.c usb: device: Do not cancel transfers on suspend 2023-01-18 11:48:13 +01:00
bt_h4.c usb: device: Do not cancel transfers on suspend 2023-01-18 11:48:13 +01:00
cdc_acm.c usb: device: Do not cancel transfers on suspend 2023-01-18 11:48:13 +01:00
CMakeLists.txt
Kconfig
Kconfig.bt
Kconfig.cdc usb: device: cdc: Update Kconfig 2022-09-02 10:59:32 +00:00
Kconfig.msc usb: Increase mass storage stack size when SD stack is enabled 2022-08-17 12:09:17 +02:00
Kconfig.template.composite_device_number
Kconfig.test
loopback.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
msc.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00