From: Takashi Iwai Date: Thu, 22 Feb 2007 11:47:25 +0000 (+0100) Subject: [ALSA] ac97 - Add Thinkpad X31 and R40 to AD1981x blacklist X-Git-Tag: v2.6.21-rc3~20^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a31e8c7236f40b42f27c275a959ef129257b0bcd;p=platform%2Fkernel%2Flinux-stable.git [ALSA] ac97 - Add Thinkpad X31 and R40 to AD1981x blacklist Added Thinkpad X31 and R40 to AD1981x line/HP-jack-sense blacklist for avoiding the harmful mixer controls. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index bfc2fed..37fabf7 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c @@ -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 */