Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353109
b: refs/heads/master
c: 54d778b
h: refs/heads/master
i:
  353107: a0a8756
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent 607bcc8 commit 032a1ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca29683bd63a463d48934dc5b50ec4aecbfaa7c2
refs/heads/master: 54d778b31c98b305bf47fbbabd4107a3898ebe66
2 changes: 2 additions & 0 deletions trunk/sound/pci/hda/hda_auto_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ static const char *hda_get_input_pin_label(struct hda_codec *codec,
return "SPDIF In";
case AC_JACK_DIG_OTHER_IN:
return "Digital In";
case AC_JACK_HP_OUT:
return "Headphone Mic";
default:
return "Misc";
}
Expand Down
4 changes: 0 additions & 4 deletions trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2085,8 +2085,6 @@ static int create_input_ctls(struct hda_codec *codec)
continue;

label = hda_get_autocfg_input_label(codec, cfg, i);
if (spec->shared_mic_hp && !strcmp(label, "Misc"))
label = "Headphone Mic";
if (prev_label && !strcmp(label, prev_label))
type_idx++;
else
Expand Down Expand Up @@ -2540,8 +2538,6 @@ static int parse_mic_boost(struct hda_codec *codec)
unsigned int val;

label = hda_get_autocfg_input_label(codec, cfg, i);
if (spec->shared_mic_hp && !strcmp(label, "Misc"))
label = "Headphone Mic";
if (prev_label && !strcmp(label, prev_label))
type_idx++;
else
Expand Down

0 comments on commit 032a1ac

Please sign in to comment.