Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92055
b: refs/heads/master
c: 85860c0
h: refs/heads/master
i:
  92053: c0377f2
  92051: 53b8f33
  92047: 063bfd7
v: v3
  • Loading branch information
Takashi Iwai committed Apr 24, 2008
1 parent 6ecb291 commit 9468b92
Show file tree
Hide file tree
Showing 2 changed files with 7 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: aef9d318b1d741d80486ff7ea3507a8321dedf6b
refs/heads/master: 85860c06aba5e145805ad840553a2388e60a7e23
6 changes: 6 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -10272,6 +10272,7 @@ static int patch_alc268(struct hda_codec *codec)
if (!spec->adc_nids && spec->input_mux) {
/* check whether NID 0x07 is valid */
unsigned int wcap = get_wcaps(codec, 0x07);
int i;

/* get type */
wcap = (wcap & AC_WCAP_TYPE) >> AC_WCAP_TYPE_SHIFT;
Expand All @@ -10289,6 +10290,11 @@ static int patch_alc268(struct hda_codec *codec)
spec->num_mixers++;
}
spec->capsrc_nids = alc268_capsrc_nids;
/* set default input source */
for (i = 0; i < spec->num_adc_nids; i++)
snd_hda_codec_write_cache(codec, alc268_capsrc_nids[i],
0, AC_VERB_SET_CONNECT_SEL,
spec->input_mux->items[0].index);
}

spec->vmaster_nid = 0x02;
Expand Down

0 comments on commit 9468b92

Please sign in to comment.