ALSA: hda - Build PCMs and controls at codec driver probe
[firefly-linux-kernel-4.4.55.git] / sound / pci / hda / hda_intel.c
index f7fb1b51d4464cb307b669bee4f507f2ac1c0b2d..e81461a413b8b81a83ae3a956e3800a8a87af719 100644 (file)
@@ -1895,16 +1895,6 @@ static int azx_probe_continue(struct azx *chip)
                        goto out_free;
        }
 
-       /* create PCM streams */
-       err = snd_hda_build_pcms(chip->bus);
-       if (err < 0)
-               goto out_free;
-
-       /* create mixer controls */
-       err = snd_hda_build_controls(chip->bus);
-       if (err < 0)
-               goto out_free;
-
        err = snd_card_register(chip->card);
        if (err < 0)
                goto out_free;