Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353026
b: refs/heads/master
c: df1d1fb
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent 2f606ba commit 617f115
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: 965ccebccdf7199bef866414e56817b18ea6268e
refs/heads/master: df1d1fb09aed7aae0f94a5ba1a39d0477dee6f1d
8 changes: 5 additions & 3 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -1402,14 +1402,16 @@ static void alc_auto_parse_digital(struct hda_codec *codec)
if (spec->autocfg.dig_in_pin) {
dig_nid = codec->start_nid;
for (i = 0; i < codec->num_nodes; i++, dig_nid++) {
struct nid_path *path;
unsigned int wcaps = get_wcaps(codec, dig_nid);
if (get_wcaps_type(wcaps) != AC_WID_AUD_IN)
continue;
if (!(wcaps & AC_WCAP_DIGITAL))
continue;
if (!(wcaps & AC_WCAP_CONN_LIST))
continue;
if (err >= 0) {
path = add_new_nid_path(codec, spec->autocfg.dig_in_pin,
dig_nid, 2);
if (path) {
path->active = true;
spec->dig_in_nid = dig_nid;
break;
}
Expand Down

0 comments on commit 617f115

Please sign in to comment.