]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: soc_sdw_utils: partial match the codec name
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 25 Feb 2026 13:50:03 +0000 (21:50 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 1 Mar 2026 23:48:53 +0000 (23:48 +0000)
commitc5ae3d8bc968a28aaeefbb772ec42e50cf3a15f0
treee6e4ee6b814fff98ede99402a2c9ea78f6828017
parent98eb42c7de6b0185c914df4cca61b49ff76821ee
ASoC: soc_sdw_utils: partial match the codec name

Currently, we can set codec name in the dai info which will be set as
the codec component name in a DAI link. However, the codec name may
not be fixed. For example, there is an index in a SDCA codec name and
that is not fixed. Lookup the fixed codec name string from the component
list to get the right component name to ensure the DAI link will bind
to the right codec component.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20260225135004.2322987-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdw_utils/soc_sdw_utils.c