From 27797cc764b52d417f5daf5703d4fa9f98867185 Mon Sep 17 00:00:00 2001 From: Tommi Kyntola Date: Wed, 25 Apr 2007 15:05:50 -0400 Subject: 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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela Cc: Chuck Ebbert Signed-off-by: Greg Kroah-Hartman --- sound/pci/intel8x0.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3