diff options
| author | Mark Brown <broonie@kernel.org> | 2026-03-02 13:35:04 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-02 13:35:04 +0000 |
| commit | ca5355db6330ccd1a02bb382b793d0a2027c7fd3 (patch) | |
| tree | cce18f211ce8af97f6a6704b41ae5f92977e354c /include/sound | |
| parent | da37bfe76b5b4ccc01ed8132215098e20d78e5f3 (diff) | |
| parent | 34b4fc44e4f904fbb81335d53163ffdcb0180000 (diff) | |
ASoC: partial match the sdca codec name
Merge series from Bard Liao <yung-chuan.liao@linux.intel.com>:
Currently, we set a predefined codec component name in a DAI link. But
the codec name may contain an index which is not fixed. This series
suggest using partial match the codec name to fix the issue.
Diffstat (limited to 'include/sound')
| -rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index b1c5dad26edb..a30f95ff7d86 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -460,6 +460,7 @@ struct snd_soc_component *snd_soc_lookup_component_nolocked(struct device *dev, const char *driver_name); struct snd_soc_component *snd_soc_lookup_component(struct device *dev, const char *driver_name); +struct snd_soc_component *snd_soc_lookup_component_by_name(const char *component_name); int soc_new_pcm(struct snd_soc_pcm_runtime *rtd); #ifdef CONFIG_SND_SOC_COMPRESS |
