From: Takashi Iwai Date: Tue, 23 Aug 2011 13:02:36 +0000 (+0200) Subject: Merge branch 'fix/hda' into topic/hda X-Git-Tag: MMI-PSA29.97-13-9~18103^2~73 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5fa9b1511216282e27e048defae78c0f44c148d1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Merge branch 'fix/hda' into topic/hda Conflicts: sound/pci/hda/patch_realtek.c --- 5fa9b1511216282e27e048defae78c0f44c148d1 diff --cc sound/pci/hda/patch_realtek.c index e0ecf5a5b097,7cabd7317163..c3e5af955620 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@@ -581,9 -568,9 +581,9 @@@ static void alc_hp_automute(struct hda_ spec->jack_present = detect_jacks(codec, ARRAY_SIZE(spec->autocfg.hp_pins), spec->autocfg.hp_pins); + if (!spec->automute) + return; - update_speakers(codec); + call_update_speakers(codec); } /* standard line-out-automute helper */ @@@ -594,9 -581,9 +594,9 @@@ static void alc_line_automute(struct hd spec->line_jack_present = detect_jacks(codec, ARRAY_SIZE(spec->autocfg.line_out_pins), spec->autocfg.line_out_pins); + if (!spec->automute || !spec->detect_line) + return; - update_speakers(codec); + call_update_speakers(codec); } #define get_connection_index(codec, mux, nid) \