Skip to content

Commit

Permalink
[ALSA] ac97 - Add extra IDs for headphone autosense
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Garrett authored and Jaroslav Kysela committed Jan 3, 2006
1 parent f8c7c7b commit 16f47bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/pci/ac97/ac97_patch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 16f47bb

Please sign in to comment.