-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: i2s: Fix TX transfer stopping issue in some corner cases
In previous implementions, when there is no buffers in TX queue in a TX callback context, TX will be stopped immediately. It is not correct because there may still TX blocks in DMA TX transfer queue. TX should only be stopped when DMA queue is empty and no more in I2S TX queue. Another modification is to set correct TX water FIFO level. Signed-off-by: Raymond Lei <[email protected]>
- Loading branch information
1 parent
2e75e18
commit 872df4f
Showing
2 changed files
with
35 additions
and
5 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