ASoC: SOF: Intel: add support for snd-hda-codec-hdmi
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Tue, 29 Oct 2019 13:40:13 +0000 (15:40 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 29 Oct 2019 17:32:04 +0000 (17:32 +0000)
commit139c7febad1afa221c687f3314560284e482a1f4
treec4767f064d7454f21d765422ef2fb8af7753e64c
parent0f163110256ac91aee562da149838fcb8a39d518
ASoC: SOF: Intel: add support for snd-hda-codec-hdmi

Add support to implement HDMI/DP audio by using the common
snd-hda-codec-hdmi driver.

Change of codec driver affects user-space as the two
drivers expose different mixer controls. A new kernel
module option "use_common_hdmi" is added to user-space
to indicate which interface should be used. The default
driver can be selected via a Kconfig option.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191029134017.18901-6-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/Kconfig
sound/soc/sof/intel/hda-codec.c
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h