]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: Intel: hda: refactoring topology name fixup for SDW mach
authorBrent Lu <brent.lu@intel.com>
Tue, 27 Aug 2024 12:32:03 +0000 (20:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 28 Aug 2024 12:01:54 +0000 (13:01 +0100)
commit85b66359c5a76ce613bd75460e4646e8a27b1e2f
treeeccb4ea28cdae147a0fc1e38781dc33523bb3d28
parent5458411d75947a4212e50a401ec0a98d4c6c931b
ASoC: SOF: Intel: hda: refactoring topology name fixup for SDW mach

Remove SDW mach's topology name fixup code and use the code in
hda_machine_select() to fixup its topology file name. No functional
change in this commit.

Compared with I2S/HDA mach, SDW mach always fixup topology file name
with dmic num without using DMIC quirk flag and pass topology name
with file extension to SOF driver. Therefore, we add extra code to
remove file extension if it exists.

Signed-off-by: Brent Lu <brent.lu@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20240827123215.258859-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c