From: Tommi Kyntola Date: Wed, 25 Apr 2007 19:05:50 +0000 (-0400) Subject: ALSA: intel8x0 - Fix speaker output after S2RAM X-Git-Tag: v2.6.20.11~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27797cc764b52d417f5daf5703d4fa9f98867185;p=thirdparty%2Fkernel%2Fstable.git 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 --- diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index 30aaa6092a844..6dc6b7756bd40 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; }