Skip to content

dai-zephyr: refactor dai params#8415

Merged
kv2019i merged 1 commit intothesofproject:mainfrom
RanderWang:dai_refactor
Nov 3, 2023
Merged

dai-zephyr: refactor dai params#8415
kv2019i merged 1 commit intothesofproject:mainfrom
RanderWang:dai_refactor

Conversation

@RanderWang
Copy link
Collaborator

@RanderWang RanderWang commented Oct 30, 2023

Refactor dai params into more feasible functions and remove duplicate code. No functional change.

The original pr: #7345 was done by Jaska but was not merged. Since he has leaved intel, I will help to rebase it and submit it again .

Copy link
Contributor

@btian1 btian1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the code already mismatched, if possible, I would suggest to split with several patches for better check and bisect.

@RanderWang
Copy link
Collaborator Author

the code already mismatched, if possible, I would suggest to split with several patches for better check and bisect.

NO, it is based on latest code

@RanderWang
Copy link
Collaborator Author

All tests pass! the original PR got 3 approve. Thanks!

@btian1
Copy link
Contributor

btian1 commented Nov 2, 2023

ggest to split with several patches for better check and bisect.

NO, it is based on latest code

mismatch means code are mismatched, hard to review and revert, after this patch merged, and then following dai code changed continue, once you want to revert this patch due to a regression bug based on latest sof code, it will be hard, have to use reset.

if possible, split will make easy to read/review/maintain.

Copy link
Collaborator

@lyakh lyakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double free is a bug

Refactor dai params into more feasible functions and remove duplicate
code. No functional change.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
Signed-off-by: Rander Wang <rander.wang@intel.com>
@RanderWang
Copy link
Collaborator Author

fixed the double free, thanks!

@kv2019i
Copy link
Collaborator

kv2019i commented Nov 3, 2023

The smart-amp stub build fail is unrelated, proceeding with merge.

@kv2019i kv2019i merged commit d8fe013 into thesofproject:main Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants