]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: hda: Disable power-save on KONTRON SinglePC
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Nov 2023 15:13:21 +0000 (16:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Nov 2023 15:14:21 +0000 (16:14 +0100)
It's been reported that the runtime PM on KONTRON SinglePC (PCI SSID
1734:1232) caused a stall of playback after a bunch of invocations.
(FWIW, this looks like an timing issue, and the stall happens rather
on the controller side.)

As a workaround, disable the default power-save on this platform.

Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20231130151321.9813-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c

index db90feb49c16e2ca0104be952efd32279837bd61..2d1df3654424ccabbc7facf4ecd82ddcfd6200e9 100644 (file)
@@ -2242,6 +2242,8 @@ static const struct snd_pci_quirk power_save_denylist[] = {
        SND_PCI_QUIRK(0x17aa, 0x36a7, "Lenovo C50 All in one", 0),
        /* https://bugs.launchpad.net/bugs/1821663 */
        SND_PCI_QUIRK(0x1631, 0xe017, "Packard Bell NEC IMEDIA 5204", 0),
+       /* KONTRON SinglePC may cause a stall at runtime resume */
+       SND_PCI_QUIRK(0x1734, 0x1232, "KONTRON SinglePC", 0),
        {}
 };
 #endif /* CONFIG_PM */