]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Aug 2020 11:58:43 +0000 (13:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Aug 2020 11:58:43 +0000 (13:58 +0200)
added patches:
alsa-hda-realtek-add-quirk-for-samsung-galaxy-book-ion.patch
alsa-hda-realtek-add-quirk-for-samsung-galaxy-flex-book.patch

queue-5.4/alsa-hda-realtek-add-quirk-for-samsung-galaxy-book-ion.patch [new file with mode: 0644]
queue-5.4/alsa-hda-realtek-add-quirk-for-samsung-galaxy-flex-book.patch [new file with mode: 0644]
queue-5.4/series

diff --git a/queue-5.4/alsa-hda-realtek-add-quirk-for-samsung-galaxy-book-ion.patch b/queue-5.4/alsa-hda-realtek-add-quirk-for-samsung-galaxy-book-ion.patch
new file mode 100644 (file)
index 0000000..82b4c56
--- /dev/null
@@ -0,0 +1,34 @@
+From e17f02d0559c174cf1f6435e45134490111eaa37 Mon Sep 17 00:00:00 2001
+From: Mike Pozulp <pozulp.kernel@gmail.com>
+Date: Tue, 18 Aug 2020 09:54:44 -0700
+Subject: ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
+
+From: Mike Pozulp <pozulp.kernel@gmail.com>
+
+commit e17f02d0559c174cf1f6435e45134490111eaa37 upstream.
+
+The Galaxy Book Ion uses the same ALC298 codec as other Samsung laptops
+which have the no headphone sound bug, like my Samsung Notebook. The
+Galaxy Book owner confirmed that this patch fixes the bug.
+
+BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207423
+Signed-off-by: Mike Pozulp <pozulp.kernel@gmail.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20200818165446.499821-1-pozulp.kernel@gmail.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/pci/hda/patch_realtek.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -7667,6 +7667,7 @@ static const struct snd_pci_quirk alc269
+       SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen (NP930SBE-K01US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
+       SND_PCI_QUIRK(0x144d, 0xc176, "Samsung Notebook 9 Pro (NP930MBE-K04US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
+       SND_PCI_QUIRK(0x144d, 0xc189, "Samsung Galaxy Flex Book (NT950QCG-X716)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
++      SND_PCI_QUIRK(0x144d, 0xc18a, "Samsung Galaxy Book Ion (NT950XCJ-X716A)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
+       SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8),
+       SND_PCI_QUIRK(0x144d, 0xc812, "Samsung Notebook Pen S (NT950SBE-X58)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
+       SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),
diff --git a/queue-5.4/alsa-hda-realtek-add-quirk-for-samsung-galaxy-flex-book.patch b/queue-5.4/alsa-hda-realtek-add-quirk-for-samsung-galaxy-flex-book.patch
new file mode 100644 (file)
index 0000000..d7d7868
--- /dev/null
@@ -0,0 +1,34 @@
+From f70fff83cda63bbf596f99edc131b9daaba07458 Mon Sep 17 00:00:00 2001
+From: Mike Pozulp <pozulp.kernel@gmail.com>
+Date: Thu, 13 Aug 2020 21:53:44 -0700
+Subject: ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
+
+From: Mike Pozulp <pozulp.kernel@gmail.com>
+
+commit f70fff83cda63bbf596f99edc131b9daaba07458 upstream.
+
+The Flex Book uses the same ALC298 codec as other Samsung laptops which
+have the no headphone sound bug, like my Samsung Notebook. The Flex Book
+owner used Early Patching to confirm that this quirk fixes the bug.
+
+BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207423
+Signed-off-by: Mike Pozulp <pozulp.kernel@gmail.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20200814045346.645367-1-pozulp.kernel@gmail.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/pci/hda/patch_realtek.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -7666,6 +7666,7 @@ static const struct snd_pci_quirk alc269
+       SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
+       SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen (NP930SBE-K01US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
+       SND_PCI_QUIRK(0x144d, 0xc176, "Samsung Notebook 9 Pro (NP930MBE-K04US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
++      SND_PCI_QUIRK(0x144d, 0xc189, "Samsung Galaxy Flex Book (NT950QCG-X716)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
+       SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8),
+       SND_PCI_QUIRK(0x144d, 0xc812, "Samsung Notebook Pen S (NT950SBE-X58)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
+       SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),
index 22f4382ae54775d338924c5afc2a70e65a9fddbf..dbc142a524be92a534d5f2d38146e08550f022cc 100644 (file)
@@ -18,3 +18,5 @@ btrfs-export-helpers-for-subvolume-name-id-resolutio.patch
 btrfs-don-t-show-full-path-of-bind-mounts-in-subvol.patch
 btrfs-return-erofs-for-btrfs_fs_state_error-cases.patch
 btrfs-add-wrapper-for-transaction-abort-predicate.patch
+alsa-hda-realtek-add-quirk-for-samsung-galaxy-flex-book.patch
+alsa-hda-realtek-add-quirk-for-samsung-galaxy-book-ion.patch