Skip to content

Add CTC binary and switch controls#9370

Merged
lgirdwood merged 3 commits intothesofproject:mainfrom
eddy1021:ctc_ctl
Sep 10, 2024
Merged

Add CTC binary and switch controls#9370
lgirdwood merged 3 commits intothesofproject:mainfrom
eddy1021:ctc_ctl

Conversation

@eddy1021
Copy link

Add enablement and params controls of Google CTC component.

@eddy1021 eddy1021 force-pushed the ctc_ctl branch 2 times, most recently from 8747cc8 to a6e34db Compare August 22, 2024 21:26
@eddy1021 eddy1021 changed the title Add CTC binary controls Add CTC binary and switch controls Aug 22, 2024
@eddy1021 eddy1021 marked this pull request as ready for review August 22, 2024 21:30
@eddy1021 eddy1021 force-pushed the ctc_ctl branch 2 times, most recently from d966cbd to bcf9df2 Compare August 22, 2024 22:01
lyakh
lyakh previously requested changes Aug 23, 2024
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.

I think there's a high likelihood that the fall-through wasn't intended

{
struct google_ctc_audio_processing_comp_data *cd = module_get_private_data(mod);

comp_info(mod->dev, "ctc_free()");
Copy link
Collaborator

Choose a reason for hiding this comment

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

This 3rd commit could have been a separate PR as well. Not a blocker.

Copy link
Contributor

@cujomalainey cujomalainey left a comment

Choose a reason for hiding this comment

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

just a couple minor nits left

@lgirdwood lgirdwood added this to the v2.11 milestone Sep 2, 2024
Copy link
Contributor

@johnylin76 johnylin76 left a comment

Choose a reason for hiding this comment

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

Please check concerns about the data blob setting process as I stated in comments. Thanks

@eddy1021 eddy1021 force-pushed the ctc_ctl branch 2 times, most recently from e2f2e70 to 1a13d57 Compare September 5, 2024 20:33
Eddy Hsu added 3 commits September 9, 2024 00:43
Add binary controls of Google CTC component to load different configs.

Signed-off-by: Eddy Hsu <eddyhsu@google.com>
Add enablement switch controls of Google CTC component.

Signed-off-by: Eddy Hsu <eddyhsu@google.com>
Check CTC state is properly inited and cleanup.

Signed-off-by: Eddy Hsu <eddyhsu@google.com>
@lgirdwood lgirdwood merged commit 17c15fc into thesofproject:main Sep 10, 2024
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.

6 participants