]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: hda: intel: Add Dell ALC3271 to power_save denylist
authorHoku Ishibe <me@hokuishi.be>
Mon, 24 Feb 2025 02:05:17 +0000 (21:05 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 5 Mar 2025 09:31:49 +0000 (10:31 +0100)
Dell XPS 13 7390 with the Realtek ALC3271 codec experiences
persistent humming noise when the power_save mode is enabled.
This issue occurs when the codec enters power saving mode,
leading to unwanted noise from the speakers.

This patch adds the affected model (PCI ID 0x1028:0x0962) to the
power_save denylist to ensure power_save is disabled by default,
preventing power-off related noise issues.

Steps to Reproduce
1. Boot the system with `snd_hda_intel` loaded.
2. Verify that `power_save` mode is enabled:
```sh
cat /sys/module/snd_hda_intel/parameters/power_save
````
output: 10 (default power save timeout)
3. Wait for the power save timeout
4. Observe a persistent humming noise from the speakers
5. Disable `power_save` manually:
```sh
echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save
````
6. Confirm that the noise disappears immediately.

This issue has been observed on my system, and this patch
successfully eliminates the unwanted noise. If other users
experience similar issues, additional reports would be helpful.

Signed-off-by: Hoku Ishibe <me@hokuishi.be>
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20250224020517.51035-1-me@hokuishi.be
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c

index 67540e037309952c55291e1356eaa771d5fe357c..e67c22c59f02b19d93c5a3ad38588630c6415558 100644 (file)
@@ -2232,6 +2232,8 @@ static const struct snd_pci_quirk power_save_denylist[] = {
        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),
+       /* Dell ALC3271 */
+       SND_PCI_QUIRK(0x1028, 0x0962, "Dell ALC3271", 0),
        {}
 };