]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: Intel: skl-hda-dsp-generic: use snd-hda-codec-hdmi
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Mon, 9 Dec 2019 08:45:00 +0000 (09:45 +0100)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 24 Jan 2020 12:36:43 +0000 (09:36 -0300)
commit5dc2056a1bb7468b65c5c98e04772f06018284a9
treeee1168e39c2f3173533496fd47f6bdabd7dbe804
parentb03abb4db7bffb9fc7d86fca4fe711d122dcbb1a
ASoC: Intel: skl-hda-dsp-generic: use snd-hda-codec-hdmi

BugLink: https://bugs.launchpad.net/bugs/1855666
Add support for using snd-hda-codec-hdmi driver for HDMI/DP
instead of ASoC hdac-hdmi. This is aligned with how other
HDA codecs are already handled.

When snd-hda-codec-hdmi is used, the PCM device numbers are
parsed from card topology and passed to the codec driver.
This needs to be done at runtime as topology changes may
affect PCM device allocation.

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-4-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 7de9a47c8971bdec07cc9a62e948382003c5908f)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
include/sound/soc-acpi.h
sound/soc/intel/boards/Makefile
sound/soc/intel/boards/hda_dsp_common.c [new file with mode: 0644]
sound/soc/intel/boards/hda_dsp_common.h [new file with mode: 0644]
sound/soc/intel/boards/skl_hda_dsp_common.c
sound/soc/intel/boards/skl_hda_dsp_common.h
sound/soc/intel/boards/skl_hda_dsp_generic.c