Skip to contentSkip to conversation

snd-ice1712: enable suspend on unknown ICE1724 cards

PATCH Applied Ondrej Zary 2 participants 2 messages Nov 11, 2012 – Nov 12, 2012 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 snd-ice1712: 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.

---
 sound/pci/ice1712/ice1724.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
sound/pci/ice1712/ice1724.c +2 -0
index 5cc3fa5..aebd584 100644
@@ -2363,6 +2363,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);
Signature · 1 line
Ondrej Zary
Applied
#1 lore raw

At Sun, 11 Nov 2012 22:10:13 +0100,

Quoted 7 lines · Ondrej Zary

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.

Thanks, applied.

Takashi

Quoted 24 lines
---
 sound/pci/ice1712/ice1724.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
sound/pci/ice1712/ice1724.c +2 -0
index 5cc3fa5..aebd584 100644
@@ -2363,6 +2363,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);
Signature · 5 lines
Ondrej Zary
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel