From: Takashi Iwai Date: Sat, 4 Apr 2015 10:24:00 +0000 (+0200) Subject: ALSA: hda - Enable widget power saving for Realtek codecs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=382fd7becc409be9cc18dea8e3d53f6d184f9a5c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index d44cb7e37094..e0c06f9a0e80 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);