summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommi Kyntola <tommi.kyntola@ray.fi>2007-04-25 15:05:50 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-01 17:06:03 -0700
commit27797cc764b52d417f5daf5703d4fa9f98867185 (patch)
tree4f0de9d4a65351cac258ce798db11ae055decda3
parent87b814c9a7e7316ae4ea64767dbd0ae2fd6c179d (diff)
downloadlinux-stable-27797cc764b52d417f5daf5703d4fa9f98867185.tar.gz
linux-stable-27797cc764b52d417f5daf5703d4fa9f98867185.tar.bz2
linux-stable-27797cc764b52d417f5daf5703d4fa9f98867185.zip
ALSA: intel8x0 - Fix speaker output after S2RAM
[ALSA] intel8x0 - Fix speaker output after S2RAM Fixed the mute speaker problem after S2RAM on some laptops: http://bugme.osdl.org/show_bug.cgi?id=6181 Signed-off-by: Tommi Kyntola <tommi.kyntola@ray.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz> Cc: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--sound/pci/intel8x0.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
index 30aaa6092a84..6dc6b7756bd4 100644
--- a/sound/pci/intel8x0.c
+++ b/sound/pci/intel8x0.c
@@ -2489,7 +2489,10 @@ static int intel8x0_suspend(struct pci_dev *pci, pm_message_t state)
}
pci_disable_device(pci);
pci_save_state(pci);
- pci_set_power_state(pci, pci_choose_state(pci, state));
+ /* The call below may disable built-in speaker on some laptops
+ * after S2RAM. So, don't touch it.
+ */
+ /* pci_set_power_state(pci, pci_choose_state(pci, state)); */
return 0;
}