ASoC: Intel: sof_rt5682: add support for systems without i915 audio
authorYong Zhi <yong.zhi@intel.com>
Thu, 20 Jan 2022 23:02:25 +0000 (17:02 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jan 2022 13:31:46 +0000 (13:31 +0000)
commit22cefca393ea3256fa7afb97cca39d5a088053f4
tree8c6f41f54339a419d44dd2f1b706bf24ac74aa8f
parent6cbff4b3a10e3ae5d68f71f197d0a0b14ef97711
ASoC: Intel: sof_rt5682: add support for systems without i915 audio

Add support to systems where iDisp HDMI/DP audio codec is disabled for some
reason, switch codecs to SoC dummy in the affected DAI links. This allows
to reuse existing topologies as hdmi_num is 3 by default.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220120230226.175906-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c