From: Tommi Kyntola Date: Fri, 9 Mar 2007 15:15:06 +0000 (+0100) Subject: [ALSA] intel8x0 - Fix speaker output after S2RAM X-Git-Tag: upstream/snapshot3+hdmi~35287^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19bfafb2ed1a59efb979b6725ab7626a94f7e078;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 --- diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index a289abf..ff65e04 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; }