[ALSA] ac97 - Add Thinkpad X31 and R40 to AD1981x blacklist
authorTakashi Iwai <tiwai@suse.de>
Thu, 22 Feb 2007 11:47:25 +0000 (12:47 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 6 Mar 2007 09:40:30 +0000 (10:40 +0100)
Added Thinkpad X31 and R40 to AD1981x line/HP-jack-sense blacklist
for avoiding the harmful mixer controls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ac97/ac97_patch.c

index bfc2fed16da3a0208a6a5be3d146a81032ecffd1..37fabf75daa7291d148d30d141562ddcf0d9f69a 100644 (file)
@@ -1790,6 +1790,8 @@ static const struct snd_kcontrol_new snd_ac97_ad1981x_jack_sense[] = {
  * (SS vendor << 16 | device)
  */
 static unsigned int ad1981_jacks_blacklist[] = {
+       0x10140523, /* Thinkpad R40 */
+       0x10140534, /* Thinkpad X31 */
        0x10140537, /* Thinkpad T41p */
        0x10140554, /* Thinkpad T42p/R50p */
        0 /* end */