linux-hardened/sound/soc/intel
Pierre-Louis Bossart 17fc24875d
ASoC: Intel: sof-rt5682: fix undefined references with Baytrail-only support
The sof-rt5682 machine driver supports both legacy Baytrail devices
and more recent ApolloLake/CometLake platforms. When only Baytrail is
selected, the compilation fails with the following errors:

ERROR: "hdac_hdmi_jack_port_init"
[sound/soc/intel/boards/snd-soc-sof_rt5682.ko] undefined!

ERROR: "hdac_hdmi_jack_init"
[sound/soc/intel/boards/snd-soc-sof_rt5682.ko] undefined!

Fix by selecting SND_SOC_HDAC_HDMI unconditionally. The code for HDMI
support is not reachable on Baytrail so this change has no functional
impact.

Fixes: f70abd75b7 ("ASoC: Intel: add sof-rt5682 machine driver")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-05-29 16:36:41 +01:00
..
atom ASoC: intel: Fix crash at suspend/resume after failed codec registration 2019-03-25 12:09:13 +00:00
baytrail ASoC: Updates for v5.1 2019-02-08 14:20:32 +01:00
boards ASoC: Intel: sof-rt5682: fix undefined references with Baytrail-only support 2019-05-29 16:36:41 +01:00
common ASoC: Intel: Add machine driver for CX2072X on BYT/CHT platforms 2019-05-22 13:19:06 +01:00
haswell ASoC: Intel: Haswell: Remove set but not used variable 'stage_type' 2019-04-19 17:00:59 +01:00
skylake ASoC: Intel: Skylake: Use struct_size() helper 2019-05-24 13:01:38 +01:00
Kconfig ASoC: Intel: Skylake: Add Cometlake PCI IDs 2019-05-13 12:42:15 +01:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00