ASoC: Intel: boards: Select SND_SOC_HDAC_HDMI for Soundwire machine driver
Subsystems (3)
PATCH 1/1 ASoC: Intel: boards: Select SND_SOC_HDAC_HDMI for Soundwire machine driver
Add select of SND_SOC_HDAC_HDMI for SND_SOC_INTEL_SOUNDWIRE_SOF_MACH. Without this the build results in missing references to hdac_hdmi_jack_port_init and hdac_hdmi_jack_init.
--- sound/soc/intel/boards/Kconfig | 1 + 1 file changed, 1 insertion(+)
sound/soc/intel/boards/Kconfig +1 -0
@@ -601,6 +601,7 @@ config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH select SND_SOC_DMIC select SND_SOC_INTEL_HDA_DSP_COMMON select SND_SOC_INTEL_SOF_MAXIM_COMMON + select SND_SOC_HDAC_HDMI help Add support for Intel SoundWire-based platforms connected to MAX98373, RT700, RT711, RT1308 and RT715
Signature · 1 line
2.20.1
Quoted 3 lines · Richard Fitzgerald
Add select of
SND_SOC_HDAC_HDMIforSND_SOC_INTEL_SOUNDWIRE_SOF_MACH. Without this the build results in missing references tohdac_hdmi_jack_port_initandhdac_hdmi_jack_init.
Kai, can you comment on this one? There is nothing specific to HDMI in this driver.
all the machine driver entries are now protected with a
depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
but some entries have the select SND_SOC_HDAC_HDMI, others don't.
Something's inconsistent here, it's not limited to SoundWire I am afraid
Quoted 18 lines
Signed-off-by Richard Fitzgerald <[email protected]>--- sound/soc/intel/boards/Kconfig | 1 + 1 file changed, 1 insertion(+)sound/soc/intel/boards/Kconfig +1
-0@@ -601,6 +601,7 @@ config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH select SND_SOC_DMIC select SND_SOC_INTEL_HDA_DSP_COMMON select SND_SOC_INTEL_SOF_MAXIM_COMMON + select SND_SOC_HDAC_HDMI help Add support for Intel SoundWire-based platforms connected to MAX98373, RT700, RT711, RT1308 and RT715
Kai Vehmanen
maintainerHi,
Quoted 6 lines · Pierre-Louis Bossart
Quoted 3 lines · Richard Fitzgerald
Add select of
SND_SOC_HDAC_HDMIforSND_SOC_INTEL_SOUNDWIRE_SOF_MACH. Without this the build results in missing references tohdac_hdmi_jack_port_initandhdac_hdmi_jack_init.Kai, can you comment on this one? There is nothing specific to HDMI in this driver.
usage of hdac-hdmi is removed in newer mach drivers (like sof_da7219_max98373, sof-pcm512 and ehl_rt5660 -> and there's no select for SND_SOC_HDAC_HDMI for these). For older ones, we've kept hdac-hdmi in to keep compatibility.
For sof_sdw, there are still calls to hdac_hdmi_jack_init() and friends in sof_sdw_hdmi.c, so this is a real problem.
I'd say a better fix is that we remove the hdac-hdmi support from sof_sdw. I can do a patch for that.
Quoted 1 line
Something's inconsistent here, it's not limited to SoundWire I am afraid
I checked all the related mach drivers and the Kconfig definitions are correct for others. So select is done to HDAC_HDMI whenever the mach driver uses hdac_hdmi_jack_*().
Br, Kai
Quoted 16 lines · Kai Vehmanen
Hi,
Quoted 6 lines · Pierre-Louis Bossart
Quoted 3 lines · Richard Fitzgerald
Add select of
SND_SOC_HDAC_HDMIforSND_SOC_INTEL_SOUNDWIRE_SOF_MACH. Without this the build results in missing references tohdac_hdmi_jack_port_initandhdac_hdmi_jack_init.Kai, can you comment on this one? There is nothing specific to HDMI in this driver.
usage of hdac-hdmi is removed in newer mach drivers (like
sof_da7219_max98373, sof-pcm512 andehl_rt5660-> and there's no select forSND_SOC_HDAC_HDMIfor these). For older ones, we've kept hdac-hdmi in to keep compatibility.
Quoted 6 lines
For
sof_sdw, there are still calls tohdac_hdmi_jack_init()and friends insof_sdw_hdmi.c, so this is a real problem.I'd say a better fix is that we remove the hdac-hdmi support from
sof_sdw. I can do a patch for that.
Ok with me. I'm not using the hdmi.
Quoted 8 lines
Quoted 1 line
Something's inconsistent here, it's not limited to SoundWire I am afraid
I checked all the related mach drivers and the
Kconfigdefinitions are correct for others. So select is done toHDAC_HDMIwhenever the mach driver uses hdac_hdmi_jack_*().Br, Kai