ALSA: hda - Build PCMs and controls at codec driver probe
[cascardo/linux.git] / sound / pci / hda / hda_tegra.c
index 1359fdd..7586abe 100644 (file)
@@ -497,16 +497,6 @@ static int hda_tegra_probe(struct platform_device *pdev)
        if (err < 0)
                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;