Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353107
b: refs/heads/master
c: d12daf6
h: refs/heads/master
i:
  353105: 8f754cf
  353103: cf0a821
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent f8a94fa commit a0a8756
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fb690cf58278163b464e3ea8b76ad31e07fb140c
refs/heads/master: d12daf6f41693b6b34351b37b6d05d1a6f9b3472
3 changes: 3 additions & 0 deletions trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -3034,6 +3034,9 @@ static int check_auto_mic_availability(struct hda_codec *codec)
unsigned int types;
int i, num_pins;

if (spec->suppress_auto_mic)
return 0;

types = 0;
num_pins = 0;
for (i = 0; i < cfg->num_inputs; i++) {
Expand Down
1 change: 1 addition & 0 deletions trunk/sound/pci/hda/hda_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ struct hda_gen_spec {
unsigned int automute_speaker_possible:1; /* there are speakers and either LO or HP */
unsigned int automute_lo_possible:1; /* there are line outs and HP */
unsigned int keep_vref_in_automute:1; /* Don't clear VREF in automute */
unsigned int suppress_auto_mic:1; /* suppress input jack auto switch */
unsigned int line_in_auto_switch:1; /* allow line-in auto switch */

/* other flags */
Expand Down

0 comments on commit a0a8756

Please sign in to comment.