projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef87844
)
ALSA: ice1724: Fix build error without CONFIG_PM_SLEEP
author
Takashi Iwai
<tiwai@suse.de>
Mon, 12 Nov 2012 10:38:10 +0000
(11:38 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 12 Nov 2012 10:38:10 +0000
(11:38 +0100)
Bah, forgot this again...
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1724.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ice1712/ice1724.c
b/sound/pci/ice1712/ice1724.c
index 4c52a310234d2ee1ae07c0b5edcba61f7c507b63..ea99e5695f9f3cf63d9dc769095f5f8929d72bae 100644
(file)
--- a/
sound/pci/ice1712/ice1724.c
+++ b/
sound/pci/ice1712/ice1724.c
@@
-2362,8
+2362,10
@@
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);
+#ifdef CONFIG_PM_SLEEP
/* assume AC97-only card which can suspend without additional code */
ice->pm_suspend_enabled = 1;
+#endif
found:
ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04);