]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ALSA: ac97: Add IBM ThinkPad R40e to Headphone/Line Jack Sense blacklist
authorDaniel T Chen <crimsun@ubuntu.com>
Fri, 26 Mar 2010 05:38:15 +0000 (22:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:56 +0000 (16:01 -0700)
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 <crimsun@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/ac97/ac97_patch.c

index 95d40faa89cad72314ce203365a73caa0653afb4..4e5f2f7c31f9d9a362e423c1dcfc2d1e554e9be0 100644 (file)
@@ -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 */