]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: SOF: Intel: select SND_SOC_SDW_UTILS in SND_SOC_SOF_HDA_GENERIC
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 29 Oct 2025 04:03:44 +0000 (12:03 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Oct 2025 20:14:44 +0000 (20:14 +0000)
The "ASoC: SOF: Intel: use sof_sdw as default SDW machine driver" commit
uses asoc_sdw_get_codec_info_list_count() and codec_info_list[] in the
hda_sdw_machine_select() function. Select SND_SOC_SDW_UTILS to fix the
function undefined issue.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202510220819.KrN5gjKL-lkp@intel.com/
Fixes: 5226d19d4cae53 ("ASoC: SOF: Intel: use sof_sdw as default SDW machine driver")
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20251029040344.1116201-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/Kconfig

index 4f27f8c8debf8a31a65226c6b3cf2781668b9fca..4fca4c9458c5574f756b6c0702351845bed36173 100644 (file)
@@ -311,6 +311,7 @@ config SND_SOC_SOF_HDA_GENERIC
        select SND_INTEL_DSP_CONFIG
        select SND_SOC_SOF_HDA_LINK_BASELINE
        select SND_SOC_SOF_HDA_PROBES
+       select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE
        select SND_SOC_SOF_HDA_MLINK if SND_SOC_SOF_HDA_LINK
        help
          This option is not user-selectable but automagically handled by