zephyr/subsys/usb
Joel Holdsworth 08d496b5f5 usb: device_next: Disassociate USB contexts from classes
The usbd_class_remove_all removes all registered classes from a
configuration. However, it previously left the uds_ctx back-pointer to the
usdb_context set, meaning that if the class is re-registered with the
usbd_register_class function, this fails with the error message "Class
registered to other context at different speed" due to uds_ctx being set to
another context.

This patch corrects the issue by clearing udc_ctx after usbd_class_shutdown
has been called.

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
2025-06-09 15:02:55 -07:00
..
device Bluetooth: Remove USB H4 mode support 2025-04-29 13:00:33 +02:00
device_next usb: device_next: Disassociate USB contexts from classes 2025-06-09 15:02:55 -07:00
host usb: host: fix set/clear feature shell commands 2025-03-24 07:53:21 +01:00
usb_c usbc: Enable VBUS measurement before VBUS check level 2025-05-27 11:50:29 +02:00
CMakeLists.txt