dai-zephyr: refactor dai params#7345
Conversation
96965b2 to
bdf303c
Compare
lgirdwood
left a comment
There was a problem hiding this comment.
Lots of code removals !
@abonislawski @softwarecki pls review.
|
Can one of the admins verify this patch? |
|
@juimonen can you check the CI, mayeb be worth a rebase as IIUC as west update has been merged now. |
lyakh
left a comment
There was a problem hiding this comment.
Please try to move dai_set_dma_buffer() as proposed to see if the git diff generated by GH also becomes smaller?
src/audio/dai-zephyr.c
Outdated
There was a problem hiding this comment.
I think I'd leave these alone - if you want to make lines shorter, which would be good here, just break it at some of the commas, but one warning should be less intrusive than 3. Same in line 672 / 629 below
src/audio/dai-zephyr.c
Outdated
There was a problem hiding this comment.
if you just move this function to right above dai_params() the diffstat becomes some 40 lines smaller and easier to review
|
@lyakh the github diff looks just crazy with this... the line length comments I understand, but most other comments just don't seem right.... maybe look at the whole file? |
bdf303c to
29ab8a8
Compare
indeed you're right... See, how important it is to try and make a diff look small and logical! ;-) Yes, I resolved most comments, just if we could merge |
234ee69 to
0c00eba
Compare
src/audio/dai-zephyr.c
Outdated
There was a problem hiding this comment.
a long time ago we had a limitation of up to 4 parameters after the format in all prints. I think it was in XTOS, in Zephyr there isn't such a limitation, right? So this should be ok?
src/audio/dai-zephyr.c
Outdated
There was a problem hiding this comment.
now this string is wrong - you moved it back to dai_params(). Same below.
src/audio/dai-zephyr.c
Outdated
There was a problem hiding this comment.
now, this time I'm not dreaming, am I? Is this intentional - moving the above two checks before calls to ipc_dai_data_config() and dai_verify_params()?
0c00eba to
2707d9a
Compare
|
@juimonen can you check the CI. Thanks ! |
45b504c to
86bd6f9
Compare
|
SOFCI TEST |
56632bc to
b36133d
Compare
|
@juimonen Please check the quickbuild logs, this failed again... |
b36133d to
b461ac5
Compare
95462fe to
625ff4c
Compare
c413c94 to
4c1b487
Compare
btian1
left a comment
There was a problem hiding this comment.
still need fight with QB results, my PR also got QB failures.
|
@kv2019i rebased. don't think the CI issues are related.... |
|
@juimonen , please update and check CI results. |
|
@juimonen ping |
4c1b487 to
c19af15
Compare
|
@lgirdwood updated, not sure are we having now some unrelated CI issues... |
|
SOFCI TEST |
There was a regression which has now been reverted. |
|
@juimonen can you try a rebase and force push to unblock CI west failure ? |
c19af15 to
9916b12
Compare
|
@juimonen can you rebase and force push agian, just merged a west update. |
Refactor dai params into more feasible functions and remove duplicate code. No functional change. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
9916b12 to
7a39a61
Compare
|
@juimonen can you check internal CI result. Thanks ! |
|
@ujfalusi are you able to take this over ? |
|
@lgirdwood @ujfalusi I'll move this to a draft so it doesn't clutter our PR review lists. |
|
Can one of the admins verify this patch?
|
|
Merged in #8415 |
Refactor dai params into more feasible functions and remove duplicate code. No functional change.