]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: sdw_utils: split asoc_sdw_get_codec_name
authorBard Liao <yung-chuan.liao@linux.intel.com>
Mon, 14 Apr 2025 06:32:38 +0000 (14:32 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Apr 2025 10:22:25 +0000 (11:22 +0100)
commit6d893cfb3d399a9eae95a8c23041dc42dc6dc18f
treede5e2244abfb6fadfe5723103a24915c88cf8a9f
parentcf8a4ca84cbf52700beaa40850647040af06b749
ASoC: sdw_utils: split asoc_sdw_get_codec_name

Currently asoc_sdw_get_codec_name will return codec_info->codec_name if
it is set. However, in some case we need the sdw codec name no matter if
codec_info->codec_name is set or not.
_asoc_sdw_get_codec_name() will be used in the follow up commit.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20250414063239.85200-11-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdw_utils/soc_sdw_utils.c