-
Notifications
You must be signed in to change notification settings - Fork 8.1k
drivers: i2s: stm32_sai fix drain and stop of tx stream #94696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers: i2s: stm32_sai fix drain and stop of tx stream #94696
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you replace "PR" with "change" in the commit log. In the end, what will remains is a commit in the Git history rather that a Github P-R. Note also that imperative mode is usually preferred. Suggestion:
This PR fixes two issues with the SAI TX Stream.
Fix two issues with the SAI TX Stream:Last, it's usually better to have 1 fix per commit (unless there are related), but that's not a strong opinion since your 2 fixes are rather small.
Otherwise LGTM.
Fix two issues with the SAI TX Stream. 1. Drain command does not release the last memory buffer 2. TX Stream status does not change to READY after STOPPING Signed-off-by: Mario Paja <mariopaja@hotmail.com>
4009810 to
aa83f09
Compare
|
hi @etienne-lms, I changed the commit log. Is it better now?
I know but the changes are small and are related to each other. I could not fix one and let the other one |
|
This change fixes a wrong buffer release on tx callback which was not correctly fixed by zephyrproject-rtos#94696. Signed-off-by: Mario Paja <mariopaja@hotmail.com>
This change fixes a wrong buffer release on tx callback which was not correctly fixed by zephyrproject-rtos#94696. Signed-off-by: Mario Paja <mariopaja@hotmail.com>
This change fixes a wrong buffer release on tx callback which was not correctly fixed by zephyrproject-rtos#94696. Signed-off-by: Mario Paja <mariopaja@hotmail.com>
This change fixes a wrong buffer release on tx callback which was not correctly fixed by #94696. Signed-off-by: Mario Paja <mariopaja@hotmail.com>
This change fixes a wrong buffer release on tx callback which was not correctly fixed by zephyrproject-rtos#94696. Signed-off-by: Mario Paja <mariopaja@hotmail.com>



This change fixes two issues with the SAI TX Stream (Issue: #94561)
Application:
samples/drivers/i2s/outputDRAIN:
Add the following code at the end of the application:
Before:
After:
STOP/START:
Add the following code at the end of the application:
Before:
After: