1 From 317d9313925cd8388304286c0d3c8dda7f060a2d Mon Sep 17 00:00:00 2001
2 From: Kailang Yang <kailang@realtek.com>
3 Date: Thu, 23 May 2019 14:43:04 +0800
4 Subject: ALSA: hda/realtek - Set default power save node to 0
6 From: Kailang Yang <kailang@realtek.com>
8 commit 317d9313925cd8388304286c0d3c8dda7f060a2d upstream.
10 I measured power consumption between power_save_node=1 and power_save_node=0.
12 Codec will enter to runtime suspend and suspend.
13 That pin also will enter to D3. Don't need to enter to D3 by single pin.
14 So, Disable power_save_node as default. It will avoid more issues.
15 Windows Driver also has not this option at runtime PM.
17 Signed-off-by: Kailang Yang <kailang@realtek.com>
18 Cc: <stable@vger.kernel.org>
19 Signed-off-by: Takashi Iwai <tiwai@suse.de>
20 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 sound/pci/hda/patch_realtek.c | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
26 --- a/sound/pci/hda/patch_realtek.c
27 +++ b/sound/pci/hda/patch_realtek.c
28 @@ -6236,7 +6236,7 @@ static int patch_alc269(struct hda_codec
31 spec->gen.shared_mic_vref_pin = 0x18;
32 - codec->power_save_node = 1;
33 + codec->power_save_node = 0;
36 codec->patch_ops.suspend = alc269_suspend;