-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Add framelength property to i2s_mcux_flexcomm.c driver. #88574
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
base: main
Are you sure you want to change the base?
Add framelength property to i2s_mcux_flexcomm.c driver. #88574
Conversation
Hello @janmft, and thank you very much for your first pull request to the Zephyr project! |
75440c1
to
20c027d
Compare
When the number of bit clock on the bus between two neighboring WS value is greater than bitWidth times lineChannels, frameLength needs to be set to the value that is equal to the number of bit clock between two neighboring WS signal. update dts/bindings/i2s/nxp,lpc-i2s.yaml after yamllint Signed-off-by: Jan Michaels <[email protected]>
20c027d
to
0a7fe4e
Compare
When the number of bit clock on the bus between two neighboring WS value is greater than bitWidth times lineChannels, frameLength needs to be set to the value that is equal to the number of bit clock between two neighboring WS signal. update dts/bindings/i2s/nxp,lpc-i2s.yaml after yamllint run clang-format, squashed commits Signed-off-by: Jan Michaels <[email protected]>
0a7fe4e
to
f71147b
Compare
My intention was a very small fix on a driver with about 20 lines of code, most lines are documentation. There have been failing checks about formatting, and i tried to fix, but checks still fail so I run The result was a 130 change and now checks complain about lines I never want to change for the fix. Last complain is about:
That struct stream and the pointer has the same name. When i want to fix it, i have to rewrite the complete driver. Is this expected or wanted? How to proceed? We need this change, but the formal hurdles to get it into Zephyr seems to high. |
hi @janmft , it is hard for me to tell what is going on here , can you remove the commit that ran clang format, and only submit your changes, then we can look at what CI is doing with just that |
For me it looks simpler (less work) to close this PR and set up an new one. Zephyr is very fast, there have been more than 730 commits now. And it feels like also clang or checkpatch config has changed. When I have prepared a new PR (beginning next week) I will close this with a comment then. |
Don't do that, just rebase and force push. It's not harder. |
When the number of bit clock on the bus between two neighboring WS value is greater than bitWidth times lineChannels, frameLength needs to be set to the value that is equal to the number of bit clock between two neighboring WS signal.