Skip to content

[RFC] ASoC: Add the ability of split channels between cpu DAIs equally #4136

Closed
bardliao wants to merge 2 commits intothesofproject:topic/sof-devfrom
bardliao:sdw-aggregated-capture-asoc-level
Closed

[RFC] ASoC: Add the ability of split channels between cpu DAIs equally #4136
bardliao wants to merge 2 commits intothesofproject:topic/sof-devfrom
bardliao:sdw-aggregated-capture-asoc-level

Conversation

@bardliao
Copy link
Collaborator

In theory, the captured data will be combined from each cpu DAI if the
dai link has more than one cpu DAIs. Therefore, the channel number should
divide by num_cpus for each cpu/codec DAI.
This PR introduces a flag to support the feature and add the SND_SOC_DAI_LINK_EVEN_CHANNEL flag in sof_sdw.c

In theory, the captured data will be combined from each cpu DAI if the
dai link has more than one cpu DAIs. Therefore, the channel number should
divide by num_cpus for each cpu/codec DAI.
This commit introduces a flag to support the feature.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Add SND_SOC_DAI_LINK_EVEN_CHANNEL flag on capture stream to
split captured channels equally.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao
Copy link
Collaborator Author

SOFCI TEST

1 similar comment
@bardliao
Copy link
Collaborator Author

SOFCI TEST

@bardliao
Copy link
Collaborator Author

@plbossart What is your thought about about this PR?

@bardliao bardliao closed this Apr 18, 2023
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.

1 participant