Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287182
b: refs/heads/master
c: f70eecd
h: refs/heads/master
v: v3
  • Loading branch information
Dylan Reid authored and Takashi Iwai committed Feb 1, 2012
1 parent c0cf807 commit 27415a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: ea51e5040e24eefe44d70bc654a237ca1f0225b0
refs/heads/master: f70eecde3bca92630d3886496e73316ff353f185
6 changes: 4 additions & 2 deletions trunk/sound/pci/hda/patch_cirrus.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,8 +988,10 @@ static void cs_automic(struct hda_codec *codec)
change_cur_input(codec, !spec->automic_idx, 0);
} else {
if (present) {
spec->last_input = spec->cur_input;
spec->cur_input = spec->automic_idx;
if (spec->cur_input != spec->automic_idx) {
spec->last_input = spec->cur_input;
spec->cur_input = spec->automic_idx;
}
} else {
spec->cur_input = spec->last_input;
}
Expand Down

0 comments on commit 27415a5

Please sign in to comment.