summaryrefslogtreecommitdiffstats
path: root/kernel/sound/pci/hda/hda_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/pci/hda/hda_sysfs.c')
-rw-r--r--kernel/sound/pci/hda/hda_sysfs.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/sound/pci/hda/hda_sysfs.c b/kernel/sound/pci/hda/hda_sysfs.c
index 64e0d1d81..9739fce9e 100644
--- a/kernel/sound/pci/hda/hda_sysfs.c
+++ b/kernel/sound/pci/hda/hda_sysfs.c
@@ -141,14 +141,6 @@ static int reconfig_codec(struct hda_codec *codec)
err = snd_hda_codec_configure(codec);
if (err < 0)
goto error;
- /* rebuild PCMs */
- err = snd_hda_codec_build_pcms(codec);
- if (err < 0)
- goto error;
- /* rebuild mixers */
- err = snd_hda_codec_build_controls(codec);
- if (err < 0)
- goto error;
err = snd_card_register(codec->card);
error:
snd_hda_power_down(codec);