]> Git Repo - linux.git/commitdiff
ALSA: hda/realtek - Set default power save node to 0
authorKailang Yang <[email protected]>
Thu, 23 May 2019 06:43:04 +0000 (14:43 +0800)
committerTakashi Iwai <[email protected]>
Thu, 23 May 2019 07:39:34 +0000 (09:39 +0200)
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 <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/hda/patch_realtek.c

index b984bd1d19716f3d9c044a86f01b4132774a2197..1ca2a83b65cdb2963c2b53185b37a66c6dbe1fa3 100644 (file)
@@ -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;
This page took 0.063339 seconds and 4 git commands to generate.