Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333715
b: refs/heads/master
c: 7819d1c
h: refs/heads/master
i:
  333713: 7c2cb70
  333711: 1a43019
v: v3
  • Loading branch information
Takashi Iwai committed Oct 10, 2012
1 parent 2fb3f43 commit 080998c
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8d032a8f653a71e309fc4be28f526a0d2a5bf8f4
refs/heads/master: 7819d1c70eb6a57e43554d86e10b39d1e106ed65
4 changes: 4 additions & 0 deletions trunk/sound/pci/hda/patch_via.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ enum {
};

struct via_spec {
struct hda_gen_spec gen;

/* codec parameterization */
const struct snd_kcontrol_new *mixers[6];
unsigned int num_mixers;
Expand Down Expand Up @@ -246,6 +248,7 @@ static struct via_spec * via_new_spec(struct hda_codec *codec)
/* VT1708BCE & VT1708S are almost same */
if (spec->codec_type == VT1708BCE)
spec->codec_type = VT1708S;
snd_hda_gen_init(&spec->gen);
return spec;
}

Expand Down Expand Up @@ -1627,6 +1630,7 @@ static void via_free(struct hda_codec *codec)
vt1708_stop_hp_work(spec);
kfree(spec->bind_cap_vol);
kfree(spec->bind_cap_sw);
snd_hda_gen_free(&spec->gen);
kfree(spec);
}

Expand Down

0 comments on commit 080998c

Please sign in to comment.