ASoC: Intel: Skylake: Fix Kconfig dependency
authorLili Li <lili.li@intel.com>
Mon, 21 Nov 2022 10:47:42 +0000 (18:47 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Nov 2022 12:23:15 +0000 (12:23 +0000)
commite5d4d2b23aed20a7815d1b500dbcd50af1da0023
tree5525f553bc796c156ee4f4a4cf1a16720d8f702e
parent7a37265046618b890adf7d7a1f9f1f5fbae908a7
ASoC: Intel: Skylake: Fix Kconfig dependency

Commit e4746d94d00c ("ASoC: Intel: Skylake: Introduce HDA codec init and
exit routines") introduced HDA codec init routine which depends on SND_HDA.
Select SND_SOC_HDAC_HDA unconditionally to fix following compile error:
ERROR: modpost: "snd_hda_codec_device_init" [sound/soc/intel/skylake/snd-soc-skl.ko] undefined!

Fixes: e4746d94d00c ("ASoC: Intel: Skylake: Introduce HDA codec init and exit routines")
Reviewed-by: Junxiao Chang <junxiao.chang@intel.com>
Suggested-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Lili Li <lili.li@intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221121104742.1007486-1-lili.li@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig