]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: hda - Enable widget power saving for Realtek codecs
authorTakashi Iwai <tiwai@suse.de>
Sat, 4 Apr 2015 10:24:00 +0000 (12:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 4 Apr 2015 10:24:00 +0000 (12:24 +0200)
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>
sound/pci/hda/patch_realtek.c

index d44cb7e37094f210d2a2f4135ef202544c2de8bb..e0c06f9a0e8030ce8cc980d823890751cc776676 100644 (file)
@@ -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);