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>
This commit is contained in:
committed by
Takashi Iwai
parent
53bacfbbb2
commit
4831559018
@@ -94,6 +94,7 @@ enum {
|
|||||||
STAC_92HD83XXX_PWR_REF,
|
STAC_92HD83XXX_PWR_REF,
|
||||||
STAC_DELL_S14,
|
STAC_DELL_S14,
|
||||||
STAC_92HD83XXX_HP,
|
STAC_92HD83XXX_HP,
|
||||||
|
STAC_HP_DV7_4000,
|
||||||
STAC_92HD83XXX_MODELS
|
STAC_92HD83XXX_MODELS
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1632,10 +1633,17 @@ static unsigned int dell_s14_pin_configs[10] = {
|
|||||||
0x40f000f0, 0x40f000f0,
|
0x40f000f0, 0x40f000f0,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static unsigned int hp_dv7_4000_pin_configs[10] = {
|
||||||
|
0x03a12050, 0x0321201f, 0x40f000f0, 0x90170110,
|
||||||
|
0x40f000f0, 0x40f000f0, 0x90170110, 0xd5a30140,
|
||||||
|
0x40f000f0, 0x40f000f0,
|
||||||
|
};
|
||||||
|
|
||||||
static unsigned int *stac92hd83xxx_brd_tbl[STAC_92HD83XXX_MODELS] = {
|
static unsigned int *stac92hd83xxx_brd_tbl[STAC_92HD83XXX_MODELS] = {
|
||||||
[STAC_92HD83XXX_REF] = ref92hd83xxx_pin_configs,
|
[STAC_92HD83XXX_REF] = ref92hd83xxx_pin_configs,
|
||||||
[STAC_92HD83XXX_PWR_REF] = ref92hd83xxx_pin_configs,
|
[STAC_92HD83XXX_PWR_REF] = ref92hd83xxx_pin_configs,
|
||||||
[STAC_DELL_S14] = dell_s14_pin_configs,
|
[STAC_DELL_S14] = dell_s14_pin_configs,
|
||||||
|
[STAC_HP_DV7_4000] = hp_dv7_4000_pin_configs,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = {
|
static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = {
|
||||||
@@ -1644,6 +1652,7 @@ static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = {
|
|||||||
[STAC_92HD83XXX_PWR_REF] = "mic-ref",
|
[STAC_92HD83XXX_PWR_REF] = "mic-ref",
|
||||||
[STAC_DELL_S14] = "dell-s14",
|
[STAC_DELL_S14] = "dell-s14",
|
||||||
[STAC_92HD83XXX_HP] = "hp",
|
[STAC_92HD83XXX_HP] = "hp",
|
||||||
|
[STAC_HP_DV7_4000] = "hp-dv7-4000",
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = {
|
static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = {
|
||||||
|
Reference in New Issue
Block a user