ALSA: hda: hdmi - add Icelake support
[linux-2.6-microblaze.git] / sound / pci / intel8x0.c
index ffddcdf..2784bf4 100644 (file)
@@ -2614,8 +2614,6 @@ static int intel8x0_suspend(struct device *dev)
        int i;
 
        snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
-       for (i = 0; i < chip->pcm_devs; i++)
-               snd_pcm_suspend_all(chip->pcm[i]);
        for (i = 0; i < chip->ncodecs; i++)
                snd_ac97_suspend(chip->ac97[i]);
        if (chip->device_type == DEVICE_INTEL_ICH4)
@@ -2865,10 +2863,8 @@ static void snd_intel8x0_proc_read(struct snd_info_entry * entry,
 
 static void snd_intel8x0_proc_init(struct intel8x0 *chip)
 {
-       struct snd_info_entry *entry;
-
-       if (! snd_card_proc_new(chip->card, "intel8x0", &entry))
-               snd_info_set_text_ops(entry, chip, snd_intel8x0_proc_read);
+       snd_card_ro_proc_new(chip->card, "intel8x0", chip,
+                            snd_intel8x0_proc_read);
 }
 
 static int snd_intel8x0_dev_free(struct snd_device *device)