-
Notifications
You must be signed in to change notification settings - Fork 322
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
[mt8186-v02] waves: store config blob in a cache in waves.c #8613
[mt8186-v02] waves: store config blob in a cache in waves.c #8613
Conversation
@@ -596,95 +652,77 @@ static int waves_codec_init(struct processing_module *mod) | |||
int ret = 0; | |||
void *response = NULL; | |||
|
|||
comp_dbg(dev, "waves_codec_init() start"); | |||
comp_info(dev, "waves_codec_init() start"); |
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.
no need so much print, this is dbg only message, change to comp_dbg.
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.
@btian1 i would agree, but we should also avoid modifying cherry picks any more than necessary
991e0c0
to
065065a
Compare
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.
btw, feel free to follow up with another PR if you like that changes the API naming to effect instead of codec.
Store/apply config blob in a cache to avoid that cfg.data will be released after prepare. Signed-off-by: barry.jan <[email protected]>
065065a
to
5b3d817
Compare
Hi @lgirdwood , @btian1 and @Zames-Chang , |
@barry-waves this is MTK production branch so need @thesofproject/mediatek to review and merge. @andyross @cujomalainey fyi. |
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.
if you'd like, you can follow up with another PR, move waves out of module_adapter folder.
and move it to under codec folder.
Hi @Zames-Chang and @thesofproject/mediatek , |
@andyross @cujomalainey fyi - somebody from MTK needs to merge. |
Why does MTK need to merge? The code change is entirely within the Waves block. |
@cujomalainey wrote:
This pull request is against a MTK release branch, not main -> "mt8186/v0.2" |
Hi, |
This commit needs to be landed on mt8186/v0.2 as a bug fix for the existing Waves-integrated CrOS projects (later than TigerLake precisely, i.e. MT8186, ADL-P/N, RPL. |
Hi @Zames-Chang and @thesofproject/mediatek , |
Hi @Zames-Chang and @thesofproject/mediatek , |
Hi @Zames-Chang, |
Store/apply config blob in a cache to avoid that
cfg.data will be released after prepare.