From: Takashi Iwai <tiwai@suse.de>
Date: Thu, 1 Jun 2006 15:16:41 +0000 (+0200)
Subject: [ALSA] ac97 - Add Thinkpad T41p to AD1981 jack-sense blacklist
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a43c4d4d7326c2894be9fd04519b109c438ee78b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

[ALSA] ac97 - Add Thinkpad T41p to AD1981 jack-sense blacklist

Added Thinkpad T41p to the blacklist to disable HP/line jack-sensing
with AD1981B.  The jack-sensing is just harmful on this laptop.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---

diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 720b419e0c6..1c47ee3d7ef 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -1627,6 +1627,7 @@ static const struct snd_kcontrol_new snd_ac97_ad1981x_jack_sense[] = {
  * (SS vendor << 16 | device)
  */
 static unsigned int ad1981_jacks_blacklist[] = {
+	0x10140537, /* Thinkpad T41p */
 	0x10140554, /* Thinkpad T42p/R50p */
 	0 /* end */
 };