-
Notifications
You must be signed in to change notification settings - Fork 133
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
Conversation
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. |
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.
Thanks @charleskeepax
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.
the Fixes: c052a47 tag is not quite right, this isn't a commit that's upstream
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>
ed41cb2
to
7a64fe0
Compare
https://sof-ci.01.org/linuxpr/PR4746/build832/devicetest/index.html?model=TGLU_RVP_NOCODEC-ipc4&testcase=check-suspend-resume-with-playback is a known issue (thesofproject/sof#8641). Not related to this PR. Merge it now. |
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.