ALSA: ice1724: enable suspend on unknown ICE1724 cards
authorOndrej Zary <linux@rainbow-software.org>
Sun, 11 Nov 2012 21:10:13 +0000 (22:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Nov 2012 09:47:56 +0000 (10:47 +0100)
Assume that unknown ICE1724-based cards are AC97-only that can suspend
without any additional card-specific code.

This fixes suspend on Gainward Hollywood@Home 7.1.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1724.c

index 26feeb8..4c52a31 100644 (file)
@@ -2362,6 +2362,8 @@ static int __devinit snd_vt1724_read_eeprom(struct snd_ice1712 *ice,
        }
        printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n",
               ice->eeprom.subvendor);
+       /* assume AC97-only card which can suspend without additional code */
+       ice->pm_suspend_enabled = 1;
 
  found:
        ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04);