diff options
author | Matthew Garrett <mjg59@srcf.ucam.org> | 2005-11-25 06:03:20 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:29:50 -0500 |
commit | 16f47bb66000a917a33a0da67ef2823b239c36f6 (patch) | |
tree | 7ea561745a39af2e0708207c555251a4b01e2869 /sound | |
parent | f8c7c7b8dd2828b42c1230c6b0235e7d1dcf57e5 (diff) |
[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 <mjg59@srcf.ucam.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/ac97/ac97_patch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index c68ee0f3e72a..1b72bc2b7e24 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) | |||
1639 | { | 1639 | { |
1640 | u32 subid = ((u32)ac97->subsystem_vendor << 16) | ac97->subsystem_device; | 1640 | u32 subid = ((u32)ac97->subsystem_vendor << 16) | ac97->subsystem_device; |
1641 | switch (subid) { | 1641 | switch (subid) { |
1642 | case 0x0e11005a: /* HP nc4000/4010 */ | ||
1642 | case 0x103c0890: /* HP nc6000 */ | 1643 | case 0x103c0890: /* HP nc6000 */ |
1644 | case 0x103c0938: /* HP nc4220 */ | ||
1643 | case 0x103c099c: /* HP nx6110 */ | 1645 | case 0x103c099c: /* HP nx6110 */ |
1646 | case 0x103c0944: /* HP nc6220 */ | ||
1647 | case 0x103c0934: /* HP nc8220 */ | ||
1644 | case 0x103c006d: /* HP nx9105 */ | 1648 | case 0x103c006d: /* HP nx9105 */ |
1645 | case 0x17340088: /* FSC Scenic-W */ | 1649 | case 0x17340088: /* FSC Scenic-W */ |
1646 | /* enable headphone jack sense */ | 1650 | /* enable headphone jack sense */ |