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>

authored by Steven Eastland and committed by Takashi Iwai 48315590 53bacfbb

+9
+9
sound/pci/hda/patch_sigmatel.c
··· 94 94 STAC_92HD83XXX_PWR_REF, 95 95 STAC_DELL_S14, 96 96 STAC_92HD83XXX_HP, 97 + STAC_HP_DV7_4000, 97 98 STAC_92HD83XXX_MODELS 98 99 }; 99 100 ··· 1633 1632 0x40f000f0, 0x40f000f0, 1634 1633 }; 1635 1634 1635 + static unsigned int hp_dv7_4000_pin_configs[10] = { 1636 + 0x03a12050, 0x0321201f, 0x40f000f0, 0x90170110, 1637 + 0x40f000f0, 0x40f000f0, 0x90170110, 0xd5a30140, 1638 + 0x40f000f0, 0x40f000f0, 1639 + }; 1640 + 1636 1641 static unsigned int *stac92hd83xxx_brd_tbl[STAC_92HD83XXX_MODELS] = { 1637 1642 [STAC_92HD83XXX_REF] = ref92hd83xxx_pin_configs, 1638 1643 [STAC_92HD83XXX_PWR_REF] = ref92hd83xxx_pin_configs, 1639 1644 [STAC_DELL_S14] = dell_s14_pin_configs, 1645 + [STAC_HP_DV7_4000] = hp_dv7_4000_pin_configs, 1640 1646 }; 1641 1647 1642 1648 static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = { ··· 1652 1644 [STAC_92HD83XXX_PWR_REF] = "mic-ref", 1653 1645 [STAC_DELL_S14] = "dell-s14", 1654 1646 [STAC_92HD83XXX_HP] = "hp", 1647 + [STAC_HP_DV7_4000] = "hp-dv7-4000", 1655 1648 }; 1656 1649 1657 1650 static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = {