ALSA: hda/tegra - Probe up to 8 codecs
authorThierry Reding <treding@nvidia.com>
Mon, 3 Dec 2018 15:53:16 +0000 (16:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Dec 2018 15:54:55 +0000 (16:54 +0100)
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_tegra.c

index 84ea606..83befd8 100644 (file)
@@ -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;