Commit ef878445 authored by Ondrej Zary's avatar Ondrej Zary Committed by Takashi Iwai

ALSA: ice1724: enable suspend on unknown ICE1724 cards

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: default avatarOndrej Zary <linux@rainbow-software.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 34ca8d33
...@@ -2362,6 +2362,8 @@ static int __devinit snd_vt1724_read_eeprom(struct snd_ice1712 *ice, ...@@ -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", printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n",
ice->eeprom.subvendor); ice->eeprom.subvendor);
/* assume AC97-only card which can suspend without additional code */
ice->pm_suspend_enabled = 1;
found: found:
ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04); ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment