]>
Commit | Line | Data |
---|---|---|
fba40d23 GKH |
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 | |
5 | ||
6 | From: Kailang Yang <kailang@realtek.com> | |
7 | ||
8 | commit 317d9313925cd8388304286c0d3c8dda7f060a2d upstream. | |
9 | ||
10 | I measured power consumption between power_save_node=1 and power_save_node=0. | |
11 | It's almost the same. | |
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. | |
16 | ||
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> | |
21 | ||
22 | --- | |
23 | sound/pci/hda/patch_realtek.c | 2 +- | |
24 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
25 | ||
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 | |
29 | ||
30 | spec = codec->spec; | |
31 | spec->gen.shared_mic_vref_pin = 0x18; | |
32 | - codec->power_save_node = 1; | |
33 | + codec->power_save_node = 0; | |
34 | ||
35 | #ifdef CONFIG_PM | |
36 | codec->patch_ops.suspend = alc269_suspend; |