Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254018
b: refs/heads/master
c: e905a83
h: refs/heads/master
v: v3
  • Loading branch information
Lydia Wang authored and Takashi Iwai committed Jun 21, 2011
1 parent afb62c6 commit 6db3045
Show file tree
Hide file tree
Showing 2 changed files with 14 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: ba31a60d0fd8a3976d44d32f2b82491c62646b2a
refs/heads/master: e905a83acd7bf8989c3d5ba3099b72675f5d7d29
13 changes: 13 additions & 0 deletions trunk/sound/pci/hda/patch_via.c
Original file line number Diff line number Diff line change
Expand Up @@ -4462,6 +4462,19 @@ static int vt1718S_auto_create_multi_out_ctls(struct via_spec *spec,
if (err < 0)
return err;
} else if (i == AUTO_SEQ_FRONT) {
/* add control to mixer index 0 */
err = via_add_control(spec, VIA_CTL_WIDGET_VOL,
"Master Front Playback Volume",
HDA_COMPOSE_AMP_VAL(0x21, 3, 5,
HDA_INPUT));
if (err < 0)
return err;
err = via_add_control(spec, VIA_CTL_WIDGET_MUTE,
"Master Front Playback Switch",
HDA_COMPOSE_AMP_VAL(0x21, 3, 5,
HDA_INPUT));
if (err < 0)
return err;
/* Front */
sprintf(name, "%s Playback Volume", chname[i]);
err = via_add_control(
Expand Down

0 comments on commit 6db3045

Please sign in to comment.