summaryrefslogtreecommitdiff
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-04-04 10:24:00 (GMT)
committerTakashi Iwai <tiwai@suse.de>2015-04-04 10:24:00 (GMT)
commit382fd7becc409be9cc18dea8e3d53f6d184f9a5c (patch)
tree765b1d9c61b952ca0164492b772084f4daa3ac7c /sound/pci/hda
parentd545a57c5f84c01b50187177921e232a450858c7 (diff)
downloadlinux-382fd7becc409be9cc18dea8e3d53f6d184f9a5c.tar.xz
ALSA: hda - Enable widget power saving for Realtek codecs
Recent Realtek codecs support the finer power state control on each widget. Let's enable the new feature. Tested-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_realtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index d44cb7e..e0c06f9 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5413,6 +5413,7 @@ static int patch_alc269(struct hda_codec *codec)
spec = codec->spec;
spec->gen.shared_mic_vref_pin = 0x18;
+ codec->power_save_node = 1;
snd_hda_pick_fixup(codec, alc269_fixup_models,
alc269_fixup_tbl, alc269_fixups);