]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: intel8x0 - Fix speaker output after S2RAM
authorTommi Kyntola <tommi.kyntola@ray.fi>
Wed, 25 Apr 2007 19:05:50 +0000 (15:05 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 May 2007 00:06:03 +0000 (17:06 -0700)
[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>
sound/pci/intel8x0.c

index 30aaa6092a84433d3c8315617d2bfbbe9bd8898b..6dc6b7756bd40d968bf8e9ab8505cd825bdda4c2 100644 (file)
@@ -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;
 }