From: Daniel T Chen Date: Fri, 26 Mar 2010 05:38:15 +0000 (-0700) Subject: ALSA: ac97: Add IBM ThinkPad R40e to Headphone/Line Jack Sense blacklist X-Git-Tag: firefly_0821_release~10186^2~1934 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=08cabf40e01bc3406e9d18ae1c80c471b7a48151;p=firefly-linux-kernel-4.4.55.git ALSA: ac97: Add IBM ThinkPad R40e to Headphone/Line Jack Sense blacklist commit e1f7f02b45cf33a774d56e505ce1718af9392f5e upstream. BugLink: https://launchpad.net/bugs/303789 This model needs both 'Headphone Jack Sense' and 'Line Jack Sense' muted for audible audio, so just add its SSID to the blacklist and don't enumerate the controls. Signed-off-by: Daniel T Chen Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index d103d277c303..e7efcef7b812 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c @@ -1867,6 +1867,7 @@ static unsigned int ad1981_jacks_blacklist[] = { 0x10140523, /* Thinkpad R40 */ 0x10140534, /* Thinkpad X31 */ 0x10140537, /* Thinkpad T41p */ + 0x1014053e, /* Thinkpad R40e */ 0x10140554, /* Thinkpad T42p/R50p */ 0x10140567, /* Thinkpad T43p 2668-G7U */ 0x10140581, /* Thinkpad X41-2527 */