From f7753ad435bd47d94ae0044211dd4255a5d8f2ee Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 31 Jul 2012 10:16:59 +0200 Subject: [PATCH] --- yaml --- r: 321007 b: refs/heads/master c: ff8a1e274cbc11da6b57849f925b895a212b56c9 h: refs/heads/master i: 321005: 5af5b5bd8a1e0ed37d1db989707d49728789ae1e 321003: 41f182cfe16680df040fa5bd22c215687f2a2391 320999: e17de17bb26b06b5e234da6c64bf43a563f0298d 320991: 18f23cd5dfcb7387eb0de00245f367022952aa64 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_sigmatel.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 3944a28d9f99..0f71a316fcfb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e5b35420ef7e6dc92a6cc5914bc9e5e5c1d48819 +refs/heads/master: ff8a1e274cbc11da6b57849f925b895a212b56c9 diff --git a/trunk/sound/pci/hda/patch_sigmatel.c b/trunk/sound/pci/hda/patch_sigmatel.c index 217ee1f344b8..a760c30f1caa 100644 --- a/trunk/sound/pci/hda/patch_sigmatel.c +++ b/trunk/sound/pci/hda/patch_sigmatel.c @@ -102,6 +102,7 @@ enum { STAC_HP_DV7_4000, STAC_HP_ZEPHYR, STAC_92HD83XXX_HP_LED, + STAC_92HD83XXX_HP_INV_LED, STAC_92HD83XXX_MODELS }; @@ -1677,6 +1678,7 @@ static const char * const stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = { [STAC_HP_DV7_4000] = "hp-dv7-4000", [STAC_HP_ZEPHYR] = "hp-zephyr", [STAC_92HD83XXX_HP_LED] = "hp-led", + [STAC_92HD83XXX_HP_INV_LED] = "hp-inv-led", }; static const struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = { @@ -5561,6 +5563,9 @@ static int patch_stac92hd83xxx(struct hda_codec *codec) spec->init = stac92hd83xxx_hp_zephyr_init; break; case STAC_92HD83XXX_HP_LED: + default_polarity = 0; + break; + case STAC_92HD83XXX_HP_INV_LED: default_polarity = 1; break; }