Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19bfafb2 authored by Tommi Kyntola's avatar Tommi Kyntola Committed by Jaroslav Kysela
Browse files

[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: default avatarTommi Kyntola <tommi.kyntola@ray.fi>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent c26a8de2
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;
}