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

Add stub for sof_ssp_get_codec_name #4746

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

charleskeepax
Copy link

Currently the sof_sdw stuff wont build without ssp_common, which is not selected or required by it.

Not sure this is the preferred way to handle this, other ways might be to select SSP_COMMON from sof_sdw, or to move the whole function to somewhere more guaranteed to be built in. Also not sure if we want to return NULL, kernel should handle that fine but might be nicer to return like "unavailable" or something. But open to comments, or alternative patches.

bardliao
bardliao previously approved these changes Dec 13, 2023
@charleskeepax
Copy link
Author

Apologies for the edit after your review, just noticed some stale function prototypes that needed removed as well, might as well add them into this pull request.

Copy link
Collaborator

@bardliao bardliao left a comment

Choose a reason for hiding this comment

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

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.

the Fixes: c052a47 tag is not quite right, this isn't a commit that's upstream

@charleskeepax
Copy link
Author

Yeah apologies, not sure what I was thinking there that commit isn't upstream so shouldn't get a fixes tag. Will push a version without it shortly.

As this function is now used in sof_board_helpers it requires a build
stub for the case SSP_COMMON is not built in.

Fixes: ba0c7c3 ("ASoC: Intel: board_helpers: support amp link initialization")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Recent commits remove a lot of init functions remove their function
prototypes as well.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
@bardliao
Copy link
Collaborator

@bardliao bardliao merged commit 722717f into thesofproject:topic/sof-dev Dec 20, 2023
12 of 14 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.

4 participants