From: Matthew Garrett Date: Fri, 25 Nov 2005 11:03:20 +0000 (+0100) Subject: [ALSA] ac97 - Add extra IDs for headphone autosense X-Git-Tag: v2.6.16-rc1~474^2~22^2~3^2~60 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=16f47bb66000a917a33a0da67ef2823b239c36f6;p=linux-2.6-omap-h63xx.git [ALSA] ac97 - Add extra IDs for headphone autosense Modules: AC97 Codec The following patch adds some extra IDs for the list of hardware which should have headphone line sense enabled by default. Signed-off-by: Matthew Garrett Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index c68ee0f3e72..1b72bc2b7e2 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c @@ -1639,8 +1639,12 @@ static void check_ad1981_hp_jack_sense(struct snd_ac97 *ac97) { u32 subid = ((u32)ac97->subsystem_vendor << 16) | ac97->subsystem_device; switch (subid) { + case 0x0e11005a: /* HP nc4000/4010 */ case 0x103c0890: /* HP nc6000 */ + case 0x103c0938: /* HP nc4220 */ case 0x103c099c: /* HP nx6110 */ + case 0x103c0944: /* HP nc6220 */ + case 0x103c0934: /* HP nc8220 */ case 0x103c006d: /* HP nx9105 */ case 0x17340088: /* FSC Scenic-W */ /* enable headphone jack sense */