Home Home > GIT Browse > openSUSE-15.0
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-10-19 08:45:58 +0200
committerTakashi Iwai <tiwai@suse.de>2019-10-19 08:46:53 +0200
commit250f10e2c2795c02cbe2c3154847c8d44a19e303 (patch)
tree292ab1c6142df89f7a7a7fef1e7fb5a93cf9cddd
parent9e9d2963a8124e6fe88aeb6f5f0f460158a09b53 (diff)
ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre
M73/93 (bsc#1051510).
-rw-r--r--patches.suse/ALSA-hda-realtek-Blacklist-PC-beep-for-Lenovo-ThinkC.patch36
-rw-r--r--series.conf1
2 files changed, 37 insertions, 0 deletions
diff --git a/patches.suse/ALSA-hda-realtek-Blacklist-PC-beep-for-Lenovo-ThinkC.patch b/patches.suse/ALSA-hda-realtek-Blacklist-PC-beep-for-Lenovo-ThinkC.patch
new file mode 100644
index 0000000000..b93cabe208
--- /dev/null
+++ b/patches.suse/ALSA-hda-realtek-Blacklist-PC-beep-for-Lenovo-ThinkC.patch
@@ -0,0 +1,36 @@
+From 051c78af14fcd74a22b5af45548ad9d588247cc7 Mon Sep 17 00:00:00 2001
+From: Takashi Iwai <tiwai@suse.de>
+Date: Thu, 22 Aug 2019 09:58:07 +0200
+Subject: [PATCH] ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
+Git-commit: 051c78af14fcd74a22b5af45548ad9d588247cc7
+Patch-mainline: v5.4-rc1
+References: bsc#1051510
+
+Lenovo ThinkCentre M73 and M93 don't seem to have a proper beep
+although the driver tries to probe and set up blindly.
+Blacklist these machines for suppressing the beep creation.
+
+Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=204635
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ sound/pci/hda/patch_realtek.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 19831521bd95..0585484a469a 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -1065,6 +1065,9 @@ static const struct snd_pci_quirk beep_white_list[] = {
+ SND_PCI_QUIRK(0x1043, 0x834a, "EeePC", 1),
+ SND_PCI_QUIRK(0x1458, 0xa002, "GA-MA790X", 1),
+ SND_PCI_QUIRK(0x8086, 0xd613, "Intel", 1),
++ /* blacklist -- no beep available */
++ SND_PCI_QUIRK(0x17aa, 0x309e, "Lenovo ThinkCentre M73", 0),
++ SND_PCI_QUIRK(0x17aa, 0x30a3, "Lenovo ThinkCentre M93", 0),
+ {}
+ };
+
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index 02ea7ba4a0..5b0a0d2f8b 100644
--- a/series.conf
+++ b/series.conf
@@ -24604,6 +24604,7 @@
patches.suse/ALSA-hda-Expand-pin_match-function-to-match-upcoming.patch
patches.suse/ALSA-hda-Define-a-fallback_pin_fixup_tbl-for-alc269-.patch
patches.suse/ALSA-hda-realtek-Check-beep-whitelist-before-assigni.patch
+ patches.suse/ALSA-hda-realtek-Blacklist-PC-beep-for-Lenovo-ThinkC.patch
patches.suse/ASoC-es8328-Fix-copy-paste-error-in-es8328_right_lin.patch
patches.suse/ASoC-wm8737-Fix-copy-paste-error-in-wm8737_snd_contr.patch
patches.suse/ASoC-Intel-Baytrail-Fix-implicit-fallthrough-warning.patch