diff options
author | Tommi Kyntola <tommi.kyntola@ray.fi> | 2007-03-09 16:15:06 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-03-14 08:24:16 +0100 |
commit | 19bfafb2ed1a59efb979b6725ab7626a94f7e078 (patch) | |
tree | 9d4856ec4d93a0851179e8425c14996b118d92a3 /sound/pci/intel8x0.c | |
parent | c26a8de23a4417f556250c4c099b048b26c430be (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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index a289abfc717..ff65e049114 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) } 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; } |