summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-20 06:56:23 +0200
committerTakashi Iwai <tiwai@suse.de>2015-05-20 06:56:23 +0200
commit219f47e4f96442a7fe8fb646c59c6730690a9e66 (patch)
tree6f570cc2f4c23f699c68904bfbdfa2eb3ba8709b /sound
parent48f4b3a2ece560e37232fe9d681cd2ff0f3ff10d (diff)
downloadlinux-219f47e4f96442a7fe8fb646c59c6730690a9e66.tar.gz
linux-219f47e4f96442a7fe8fb646c59c6730690a9e66.tar.bz2
linux-219f47e4f96442a7fe8fb646c59c6730690a9e66.zip
ALSA: hda - Disable widget power-saving for ALC292 & co
We've got reports that ALC3226 (a Dell variant of ALC292) gives click noises at transition from D3 to D0 when the widget power-saving is enabled. Further debugging session showed that avoiding it isn't trivial, unfortunately, since paths are basically activated dynamically while the pins have been already enabled. This patch disables the widget power-saving for such codecs. Reported-by: Jonathan McDowell <noodles@earth.li> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2e246fe495f6..31f8f13be907 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5623,7 +5623,8 @@ static int patch_alc269(struct hda_codec *codec)
spec = codec->spec;
spec->gen.shared_mic_vref_pin = 0x18;
- codec->power_save_node = 1;
+ if (codec->core.vendor_id != 0x10ec0292)
+ codec->power_save_node = 1;
snd_hda_pick_fixup(codec, alc269_fixup_models,
alc269_fixup_tbl, alc269_fixups);