Uh oh!
There was an error while loading. Please reload this page.
ASoC: intel: sof_sdw: init all aggregated codecs - #1962
Conversation
bardliao
commented
Mar 31, 2020
Yes, NO_AGGREGATION flag will hide the issue. |
yes, without aggregation we only need to init codec on current link for current BE DAI. |
Uh oh!
There was an error while loading. Please reload this page.
| part_id = SDW_PART_ID(link->adr_d[i].adr); | ||
| codec_index = find_codec_info_part(part_id); | ||
| do { |
There was a problem hiding this comment.
Took me a while to figure out why we need to loop here. It looks like now with aggregation the loop over links in sof_card_dai_links_create() only calls create_sdw_dailink() for the first link in each group. That's why you now have to walk over all links, looking for others from the same group. Maybe you could add a comment about that for the next reader :-)
Uh oh!
There was an error while loading. Please reload this page.
plbossart
commented
Apr 1, 2020
@bardliao please add comments to explain that the loop is done once and group_id > 0 means aggregation. You and I know this, but others may not. |
kv2019i
left a comment
There was a problem hiding this comment.
Still some iteration on code comments needed.
Uh oh!
There was an error while loading. Please reload this page.
Init codecs which belong to the same group id on all links. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
kv2019i
commented
Apr 3, 2020
Jenkins build stalled, CI errors are known or unrelated (GLK sof-logger error), merging. |
Init codecs which belong to the same group id on all links.
Signed-off-by: Bard Liao yung-chuan.liao@linux.intel.com
Fixes#1953