Skip to content

ASoC: soc_sdw_utils: remove codec name index of snd_soc_sdca codecs#5686

Open
bardliao wants to merge 2 commits intothesofproject:topic/sof-devfrom
bardliao:remove-sdca-codec-name-index
Open

ASoC: soc_sdw_utils: remove codec name index of snd_soc_sdca codecs#5686
bardliao wants to merge 2 commits intothesofproject:topic/sof-devfrom
bardliao:remove-sdca-codec-name-index

Conversation

@bardliao
Copy link
Collaborator

@bardliao bardliao commented Mar 6, 2026

The index could change if any endpoint is not present. Remove the index
and let the machine driver get the right codec name from the registered
components.

bardliao added 2 commits March 6, 2026 16:12
Currently the index is 0. In theory, it will not change even if any
other endpoint is not present. But to be consistent and avoid surprise,
remove the index and let the machine driver match the codec name
partially.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
The index could change if any endpoint is not present. Remove the index
and let the machine driver get the right codec name from the registered
components.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
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.

2 participants