aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/intel8x0.c
diff options
context:
space:
mode:
authorTommi Kyntola <tommi.kyntola@ray.fi>2007-03-09 10:15:06 -0500
committerJaroslav Kysela <perex@suse.cz>2007-03-14 03:24:16 -0400
commit19bfafb2ed1a59efb979b6725ab7626a94f7e078 (patch)
tree9d4856ec4d93a0851179e8425c14996b118d92a3 /sound/pci/intel8x0.c
parentc26a8de23a4417f556250c4c099b048b26c430be (diff)
[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>
Diffstat (limited to 'sound/pci/intel8x0.c')
-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 a289abfc7172..ff65e049114b 100644
--- a/sound/pci/intel8x0.c
+++ b/sound/pci/intel8x0.c
@@ -2470,7 +2470,10 @@ static int intel8x0_suspend(struct pci_dev *pci, pm_message_t state)
2470 } 2470 }
2471 pci_disable_device(pci); 2471 pci_disable_device(pci);
2472 pci_save_state(pci); 2472 pci_save_state(pci);
2473 pci_set_power_state(pci, pci_choose_state(pci, state)); 2473 /* The call below may disable built-in speaker on some laptops
2474 * after S2RAM. So, don't touch it.
2475 */
2476 /* pci_set_power_state(pci, pci_choose_state(pci, state)); */
2474 return 0; 2477 return 0;
2475} 2478}
2476 2479