[DNM] Trace for dai not found#5356
Closed
bardliao wants to merge 3 commits intothesofproject:topic/sof-devfrom
Closed
[DNM] Trace for dai not found#5356bardliao wants to merge 3 commits intothesofproject:topic/sof-devfrom
bardliao wants to merge 3 commits intothesofproject:topic/sof-devfrom
Conversation
Currently asoc_sdw_get_codec_name will return codec_info->codec_name if it is set. However, in some case we need the sdw codec name no matter if codec_info->codec_name is set or not. _asoc_sdw_get_codec_name() will be used in the follow up commit. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
A codec endpoint may not be used. We could check the present SDCA functions to know if the endpoint is used or not. Skip the endpoint which is not used. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Need to get snd_soc_find_dai() didn't return rt722-sdca-aif1 dai when the DAI is registered. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
3022565 to
84d38d9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PTLP_RVP_SDW test of #5351 always fails with "codec dai rt722-sdca-aif1 not registered yet". But I can see the dai has been registered if I enable ASoC debug log. And I can't reproduce with my built kernel. I.e. Only with CI built kernel can reproduce the issue.
Add some trace in the PR. Hope I can get some useful log.