Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353045
b: refs/heads/master
c: 36502d0
h: refs/heads/master
i:
  353043: 398d5da
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent 5dd93f6 commit b57ec43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 9eb413e5e4801753f7851ec6c46528adcc15579f
refs/heads/master: 36502d020030665bcfc558767cbb0ddf87b9892f
8 changes: 5 additions & 3 deletions trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2906,9 +2906,11 @@ int snd_hda_gen_build_controls(struct hda_codec *codec)
struct hda_gen_spec *spec = codec->spec;
int err;

err = snd_hda_add_new_ctls(codec, spec->kctls.list);
if (err < 0)
return err;
if (spec->kctls.used) {
err = snd_hda_add_new_ctls(codec, spec->kctls.list);
if (err < 0)
return err;
}

if (spec->multiout.dig_out_nid) {
err = snd_hda_create_dig_out_ctls(codec,
Expand Down

0 comments on commit b57ec43

Please sign in to comment.