]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2019 09:34:12 +0000 (11:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2019 09:34:12 +0000 (11:34 +0200)
added patches:
alsa-hda-realtek-set-default-power-save-node-to-0.patch

queue-4.4/alsa-hda-realtek-set-default-power-save-node-to-0.patch [new file with mode: 0644]
queue-4.4/series

diff --git a/queue-4.4/alsa-hda-realtek-set-default-power-save-node-to-0.patch b/queue-4.4/alsa-hda-realtek-set-default-power-save-node-to-0.patch
new file mode 100644 (file)
index 0000000..a234838
--- /dev/null
@@ -0,0 +1,36 @@
+From 317d9313925cd8388304286c0d3c8dda7f060a2d Mon Sep 17 00:00:00 2001
+From: Kailang Yang <kailang@realtek.com>
+Date: Thu, 23 May 2019 14:43:04 +0800
+Subject: ALSA: hda/realtek - Set default power save node to 0
+
+From: Kailang Yang <kailang@realtek.com>
+
+commit 317d9313925cd8388304286c0d3c8dda7f060a2d upstream.
+
+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>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/pci/hda/patch_realtek.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -6236,7 +6236,7 @@ static int patch_alc269(struct hda_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;
index 2193f1ccf9ef189d751ccb89dee53429035e9ff6..4859c0d3ced20c7b31b78810d2033e3323ae55e0 100644 (file)
@@ -204,3 +204,4 @@ media-smsusb-better-handle-optional-alignment.patch
 scsi-zfcp-fix-missing-zfcp_port-reference-put-on-ebusy-from-port_remove.patch
 scsi-zfcp-fix-to-prevent-port_remove-with-pure-auto-scan-luns-only-sdevs.patch
 btrfs-fix-race-updating-log-root-item-during-fsync.patch
+alsa-hda-realtek-set-default-power-save-node-to-0.patch