ac97_patch.c (eed656493a459bbc0fdf687fa8f43f87946d8d3a) | ac97_patch.c (a43c4d4d7326c2894be9fd04519b109c438ee78b) |
---|---|
1/* 2 * Copyright (c) by Jaroslav Kysela <perex@suse.cz> 3 * Universal interface for Audio Codec '97 4 * 5 * For more details look to AC '97 component specification revision 2.2 6 * by Intel Corporation (http://developer.intel.com) and to datasheets 7 * for specific codecs. 8 * --- 1613 unchanged lines hidden (view full) --- 1622 AC97_SINGLE("Headphone Jack Sense", AC97_AD_JACK_SPDIF, 11, 1, 0), 1623 AC97_SINGLE("Line Jack Sense", AC97_AD_JACK_SPDIF, 12, 1, 0), 1624}; 1625 1626/* black list to avoid HP/Line jack-sense controls 1627 * (SS vendor << 16 | device) 1628 */ 1629static unsigned int ad1981_jacks_blacklist[] = { | 1/* 2 * Copyright (c) by Jaroslav Kysela <perex@suse.cz> 3 * Universal interface for Audio Codec '97 4 * 5 * For more details look to AC '97 component specification revision 2.2 6 * by Intel Corporation (http://developer.intel.com) and to datasheets 7 * for specific codecs. 8 * --- 1613 unchanged lines hidden (view full) --- 1622 AC97_SINGLE("Headphone Jack Sense", AC97_AD_JACK_SPDIF, 11, 1, 0), 1623 AC97_SINGLE("Line Jack Sense", AC97_AD_JACK_SPDIF, 12, 1, 0), 1624}; 1625 1626/* black list to avoid HP/Line jack-sense controls 1627 * (SS vendor << 16 | device) 1628 */ 1629static unsigned int ad1981_jacks_blacklist[] = { |
1630 0x10140537, /* Thinkpad T41p */ |
|
1630 0x10140554, /* Thinkpad T42p/R50p */ 1631 0 /* end */ 1632}; 1633 1634static int check_list(struct snd_ac97 *ac97, const unsigned int *list) 1635{ 1636 u32 subid = ((u32)ac97->subsystem_vendor << 16) | ac97->subsystem_device; 1637 for (; *list; list++) --- 1223 unchanged lines hidden --- | 1631 0x10140554, /* Thinkpad T42p/R50p */ 1632 0 /* end */ 1633}; 1634 1635static int check_list(struct snd_ac97 *ac97, const unsigned int *list) 1636{ 1637 u32 subid = ((u32)ac97->subsystem_vendor << 16) | ac97->subsystem_device; 1638 for (; *list; list++) --- 1223 unchanged lines hidden --- |