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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 26 Mar 2010 07:39:54 +0000 (08:39 +0100)
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>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ac97/ac97_patch.c

index 1caf5e3c1f6ad481064ea70cced23293333de96a..1a59b71c5432965db856cadfffdb5a8451ede66a 100644 (file)
@@ -1852,6 +1852,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 */