Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182639
b: refs/heads/master
c: d1409ae
h: refs/heads/master
i:
  182637: 222181c
  182635: 9b18a97
  182631: 04e6d14
  182623: 3a17387
v: v3
  • Loading branch information
Takashi Iwai committed Dec 17, 2009
1 parent 8e53448 commit 00be9a1
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 9e671deb8547638f6504c5f20126b14f5563690d
refs/heads/master: d1409ae4cecb4af260759bdfdf88fafca23a9940
5 changes: 4 additions & 1 deletion trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,10 @@ static int alc_build_controls(struct hda_codec *codec)
if (!kctl)
kctl = snd_hda_find_mixer_ctl(codec, "Input Source");
for (i = 0; kctl && i < kctl->count; i++) {
err = snd_hda_add_nids(codec, kctl, i, spec->capsrc_nids,
hda_nid_t *nids = spec->capsrc_nids;
if (!nids)
nids = spec->adc_nids;
err = snd_hda_add_nids(codec, kctl, i, nids,
spec->input_mux->num_items);
if (err < 0)
return err;
Expand Down

0 comments on commit 00be9a1

Please sign in to comment.