aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2019-05-23 14:43:04 +0800
committerTakashi Iwai <tiwai@suse.de>2019-05-23 09:39:34 +0200
commit317d9313925cd8388304286c0d3c8dda7f060a2d (patch)
tree5c3217e9f3a0d9f8b80dfe8b6805b04d359bfeca /sound/pci/hda/patch_realtek.c
parentALSA: hda/realtek - Check headset type by unplug and resume (diff)
downloadlinux-dev-317d9313925cd8388304286c0d3c8dda7f060a2d.tar.xz
linux-dev-317d9313925cd8388304286c0d3c8dda7f060a2d.zip
ALSA: hda/realtek - Set default power save node to 0
I measured power consumption between power_save_node=1 and power_save_node=0. It's almost the same. Codec will enter to runtime suspend and suspend. That pin also will enter to D3. Don't need to enter to D3 by single pin. So, Disable power_save_node as default. It will avoid more issues. Windows Driver also has not this option at runtime PM. Signed-off-by: Kailang Yang <kailang@realtek.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b984bd1d1971..1ca2a83b65cd 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7711,7 +7711,7 @@ static int patch_alc269(struct hda_codec *codec)
spec = codec->spec;
spec->gen.shared_mic_vref_pin = 0x18;
- codec->power_save_node = 1;
+ codec->power_save_node = 0;
#ifdef CONFIG_PM
codec->patch_ops.suspend = alc269_suspend;