forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cxd56xx/cxd56_audio: Fix an issue when driver is stopping
The audio driver release an audio buffer to user application via message queue. A message queue can be used in irq context, but it has limitation of depth of the queue. So the driver stacked when the driver is stopping with many audio buffers over the limitation, because it tries to release all audio buffers by mq_send. To avoid this behavior, change that releasing audio buffers are done in LPWORKER.
- Loading branch information
Showing
2 changed files
with
62 additions
and
16 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