diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2012-11-11 16:10:13 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-11-12 04:47:56 -0500 |
commit | ef8784453d1cd5beedce9d288d56221a898c7ecb (patch) | |
tree | 3ff04a1080c94fdc363d8c841851ff4e960846fe | |
parent | 34ca8d33997e319d5d56fd9c76fecf065d613299 (diff) |
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: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 26feeb81a709..4c52a310234d 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -2362,6 +2362,8 @@ static int __devinit snd_vt1724_read_eeprom(struct snd_ice1712 *ice, | |||
2362 | } | 2362 | } |
2363 | printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n", | 2363 | printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n", |
2364 | ice->eeprom.subvendor); | 2364 | ice->eeprom.subvendor); |
2365 | /* assume AC97-only card which can suspend without additional code */ | ||
2366 | ice->pm_suspend_enabled = 1; | ||
2365 | 2367 | ||
2366 | found: | 2368 | found: |
2367 | ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04); | 2369 | ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04); |