Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353099
b: refs/heads/master
c: cd5be3f
h: refs/heads/master
i:
  353097: a0bdeb3
  353095: 16a67a4
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent 365832a commit 4914264
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 5187ac168d6552ca10a95869c1fd33c256e7746a
refs/heads/master: cd5be3f9de8945f782e1bbeffd080876eb2aa9f8
10 changes: 10 additions & 0 deletions trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,16 @@ static int fill_and_eval_dacs(struct hda_codec *codec,
memset(spec->multiout.extra_out_nid, 0, sizeof(spec->multiout.extra_out_nid));
spec->multi_ios = 0;
snd_array_free(&spec->paths);

/* clear path indices */
memset(spec->out_paths, 0, sizeof(spec->out_paths));
memset(spec->hp_paths, 0, sizeof(spec->hp_paths));
memset(spec->speaker_paths, 0, sizeof(spec->speaker_paths));
memset(spec->aamix_out_paths, 0, sizeof(spec->aamix_out_paths));
memset(spec->digout_paths, 0, sizeof(spec->digout_paths));
memset(spec->loopback_paths, 0, sizeof(spec->loopback_paths));
memset(&spec->digin_path, 0, sizeof(spec->digin_path));

badness = 0;

/* fill hard-wired DACs first */
Expand Down

0 comments on commit 4914264

Please sign in to comment.