forked from zephyrproject-rtos/zephyr
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: usb_dc_mcux: Move mcux callback handler out of ISR context
MCUX usb ISR was making usb callbacks directly, which caused assertion failures when a callback attempted to lock a mutex. Move USB callback handler to separate thread, and make ISR notify thread via message queue. Fixes zephyrproject-rtos#40638 Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
- Loading branch information
1 parent
d175c18
commit f727594
Showing
3 changed files
with
70 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters