Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353048
b: refs/heads/master
c: 624d914
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent 12a0f0b commit 92d6bc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 08c189f2c5523eda847cddb89eb8f44c0b957431
refs/heads/master: 624d914d091a5eebb4d648bd6b4ae6481171ae5c
4 changes: 3 additions & 1 deletion trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,9 @@ static int create_capture_mixers(struct hda_codec *codec)

if (!spec->auto_mic && imux->num_items > 1) {
struct snd_kcontrol_new *knew;
knew = snd_hda_gen_add_kctl(spec, NULL, &cap_src_temp);
const char *name;
name = nums > 1 ? "Input Source" : "Capture Source";
knew = snd_hda_gen_add_kctl(spec, name, &cap_src_temp);
if (!knew)
return -ENOMEM;
knew->count = nums;
Expand Down

0 comments on commit 92d6bc9

Please sign in to comment.