From: Thierry Reding Date: Mon, 3 Dec 2018 15:53:16 +0000 (+0100) Subject: ALSA: hda/tegra - Probe up to 8 codecs X-Git-Tag: v5.0-rc1~180^2~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=350355e339312d6ac048086a4c5f6d0ea0bf915f;p=thirdparty%2Fkernel%2Fstable.git ALSA: hda/tegra - Probe up to 8 codecs 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 Signed-off-by: Thierry Reding Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c index 84ea6069d28bf..83befd8d43e83 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;