[alsa-devel] [PATCH 1/2] ALSA: hda/tegra - Probe up to 8 codecs
From: Thierry Reding treding@nvidia.com
Recent devices support more than the 4 codecs that the AZX core will probe by default. Probe up to 8 codecs to make sure all of them are enumerated.
Suggested-by: Sameer Pujar spujar@nvidia.com Signed-off-by: Thierry Reding treding@nvidia.com --- sound/pci/hda/hda_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c index 84ea6069d28b..83befd8d43e8 100644 --- a/sound/pci/hda/hda_tegra.c +++ b/sound/pci/hda/hda_tegra.c @@ -531,7 +531,7 @@ static void hda_tegra_probe_work(struct work_struct *work) goto out_free;
/* create codec instances */ - err = azx_probe_codecs(chip, 0); + err = azx_probe_codecs(chip, 8); if (err < 0) goto out_free;
From: Thierry Reding treding@nvidia.com
Tegra186 and Tegra194 contain the same codecs as earlier chips and can be supported using the same patch function.
Signed-off-by: Thierry Reding treding@nvidia.com --- sound/pci/hda/patch_hdmi.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 67099cbb6be2..5fb3fa660b89 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -3834,6 +3834,10 @@ HDA_CODEC_ENTRY(0x10de0020, "Tegra30 HDMI", patch_tegra_hdmi), HDA_CODEC_ENTRY(0x10de0022, "Tegra114 HDMI", patch_tegra_hdmi), HDA_CODEC_ENTRY(0x10de0028, "Tegra124 HDMI", patch_tegra_hdmi), HDA_CODEC_ENTRY(0x10de0029, "Tegra210 HDMI/DP", patch_tegra_hdmi), +HDA_CODEC_ENTRY(0x10de002d, "Tegra186 HDMI/DP0", patch_tegra_hdmi), +HDA_CODEC_ENTRY(0x10de002e, "Tegra186 HDMI/DP1", patch_tegra_hdmi), +HDA_CODEC_ENTRY(0x10de002f, "Tegra194 HDMI/DP2", patch_tegra_hdmi), +HDA_CODEC_ENTRY(0x10de0030, "Tegra194 HDMI/DP3", patch_tegra_hdmi), HDA_CODEC_ENTRY(0x10de0040, "GPU 40 HDMI/DP", patch_nvhdmi), HDA_CODEC_ENTRY(0x10de0041, "GPU 41 HDMI/DP", patch_nvhdmi), HDA_CODEC_ENTRY(0x10de0042, "GPU 42 HDMI/DP", patch_nvhdmi),
On Mon, 03 Dec 2018 16:53:17 +0100, Thierry Reding wrote:
From: Thierry Reding treding@nvidia.com
Tegra186 and Tegra194 contain the same codecs as earlier chips and can be supported using the same patch function.
Signed-off-by: Thierry Reding treding@nvidia.com
Applied now, thanks.
Takashi
On Mon, 03 Dec 2018 16:53:16 +0100, Thierry Reding wrote:
From: Thierry Reding treding@nvidia.com
Recent devices support more than the 4 codecs that the AZX core will probe by default. Probe up to 8 codecs to make sure all of them are enumerated.
Suggested-by: Sameer Pujar spujar@nvidia.com Signed-off-by: Thierry Reding treding@nvidia.com
Applied, thanks.
Takashi
participants (2)
-
Takashi Iwai
-
Thierry Reding