diff options
author | Steven Eastland <seastland@gmail.com> | 2010-08-06 17:07:35 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-08-09 02:41:02 -0400 |
commit | 48315590186f0f9f5653dd7c35623e66ca4dd91a (patch) | |
tree | 2c1afd5bf5c40480e0e3c7be4a868f6245183416 /sound | |
parent | 53bacfbbb2ddd981287b58a511c8b8f5df179886 (diff) |
ALSA: hda - New snd-hda-intel model/pin config for hp dv7-4000
This provides a new model and pin config for the snd-hda-intel
92HD83XXX codec for hp laptop model dv7-4000, enabling the subwoofer.
Signed-off-by: Steven Eastland <seastland at gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index b8d730c47df1..a664367ad65c 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -94,6 +94,7 @@ enum { | |||
94 | STAC_92HD83XXX_PWR_REF, | 94 | STAC_92HD83XXX_PWR_REF, |
95 | STAC_DELL_S14, | 95 | STAC_DELL_S14, |
96 | STAC_92HD83XXX_HP, | 96 | STAC_92HD83XXX_HP, |
97 | STAC_HP_DV7_4000, | ||
97 | STAC_92HD83XXX_MODELS | 98 | STAC_92HD83XXX_MODELS |
98 | }; | 99 | }; |
99 | 100 | ||
@@ -1632,10 +1633,17 @@ static unsigned int dell_s14_pin_configs[10] = { | |||
1632 | 0x40f000f0, 0x40f000f0, | 1633 | 0x40f000f0, 0x40f000f0, |
1633 | }; | 1634 | }; |
1634 | 1635 | ||
1636 | static unsigned int hp_dv7_4000_pin_configs[10] = { | ||
1637 | 0x03a12050, 0x0321201f, 0x40f000f0, 0x90170110, | ||
1638 | 0x40f000f0, 0x40f000f0, 0x90170110, 0xd5a30140, | ||
1639 | 0x40f000f0, 0x40f000f0, | ||
1640 | }; | ||
1641 | |||
1635 | static unsigned int *stac92hd83xxx_brd_tbl[STAC_92HD83XXX_MODELS] = { | 1642 | static unsigned int *stac92hd83xxx_brd_tbl[STAC_92HD83XXX_MODELS] = { |
1636 | [STAC_92HD83XXX_REF] = ref92hd83xxx_pin_configs, | 1643 | [STAC_92HD83XXX_REF] = ref92hd83xxx_pin_configs, |
1637 | [STAC_92HD83XXX_PWR_REF] = ref92hd83xxx_pin_configs, | 1644 | [STAC_92HD83XXX_PWR_REF] = ref92hd83xxx_pin_configs, |
1638 | [STAC_DELL_S14] = dell_s14_pin_configs, | 1645 | [STAC_DELL_S14] = dell_s14_pin_configs, |
1646 | [STAC_HP_DV7_4000] = hp_dv7_4000_pin_configs, | ||
1639 | }; | 1647 | }; |
1640 | 1648 | ||
1641 | static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = { | 1649 | static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = { |
@@ -1644,6 +1652,7 @@ static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = { | |||
1644 | [STAC_92HD83XXX_PWR_REF] = "mic-ref", | 1652 | [STAC_92HD83XXX_PWR_REF] = "mic-ref", |
1645 | [STAC_DELL_S14] = "dell-s14", | 1653 | [STAC_DELL_S14] = "dell-s14", |
1646 | [STAC_92HD83XXX_HP] = "hp", | 1654 | [STAC_92HD83XXX_HP] = "hp", |
1655 | [STAC_HP_DV7_4000] = "hp-dv7-4000", | ||
1647 | }; | 1656 | }; |
1648 | 1657 | ||
1649 | static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = { | 1658 | static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = { |