From 292acc9a2a2058d340fa1afd10653b9f4e286a70 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 26 Sep 2011 15:19:55 +0200 Subject: [PATCH] --- yaml --- r: 264141 b: refs/heads/master c: e0d32e335fc0e354db93a807736243f5035fbc67 h: refs/heads/master i: 264139: a3cc34dba1c2ba0776c94c2465e50973f4498c55 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_realtek.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 5382178fe3dd..2f3f08a55dcd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5fe6e0151dbd969f5fbcd94d05c968b76d76952b +refs/heads/master: e0d32e335fc0e354db93a807736243f5035fbc67 diff --git a/trunk/sound/pci/hda/patch_realtek.c b/trunk/sound/pci/hda/patch_realtek.c index 91a538173c97..7a73621a8909 100644 --- a/trunk/sound/pci/hda/patch_realtek.c +++ b/trunk/sound/pci/hda/patch_realtek.c @@ -578,6 +578,10 @@ static void alc_line_automute(struct hda_codec *codec) { struct alc_spec *spec = codec->spec; + /* check LO jack only when it's different from HP */ + if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0]) + return; + spec->line_jack_present = detect_jacks(codec, ARRAY_SIZE(spec->autocfg.line_out_pins), spec->autocfg.line_out_pins);