mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-13 15:15:22 +00:00
setting/resetting endpoints is required when switching to alternate interfaces. This is a common operation for usb audio class. When audio device is enumerated host invokes set_interface request to alternate with 0 endpoints associated. That operation lead to disable never enabled endpoints. With previous solution error message will appear. This commit limits error messages to be present only if endpoint was configured/enabled before and there was a problem when trying to configure/enable it for the first time. * Kinetis driver was updated with return error value when ep was already configured/enabled. * nxp driver updated with return error value when ep was already enabled * sam0 driver updated with return codes instead of magic numbers. This is fix patch to #21741 Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no> |
||
---|---|---|
.. | ||
device | ||
CMakeLists.txt | ||
Kconfig |