Skip to content
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

board_helper: support codec link #4651

Merged
merged 5 commits into from
Oct 25, 2023

Conversation

brentlu
Copy link

@brentlu brentlu commented Oct 24, 2023

Add a helper function sof_intel_board_set_codec_link() to initialize headphone codec's dai link structure. Five codec-specific fields (codecs, num_codecs, init, exit, ops) are handled by caller.

Add a helper function to get codec name string from codec type enum
value.

Signed-off-by: Brent Lu <[email protected]>
Add a helper function for machine drivers to initialize headphone
codec DAI links. The function will initialize common fields and let
caller to initialize codec-specific fields like codec, init, exit, and
ops fields.

Signed-off-by: Brent Lu <[email protected]>
Use intel_board module for headphone codec DAI link initialization.

Signed-off-by: Brent Lu <[email protected]>
Use intel_board module for headphone codec DAI link initialization.

Signed-off-by: Brent Lu <[email protected]>
Use intel_board module for headphone codec DAI link initialization.

Signed-off-by: Brent Lu <[email protected]>
Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @brentlu

@plbossart plbossart merged commit 74ecbae into thesofproject:topic/sof-dev Oct 25, 2023
9 checks passed
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.

3 participants