Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157826
b: refs/heads/master
c: 60e5388
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jul 6, 2009
1 parent 3ccdfcd commit 8012108
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 40c20fa05a29766565f56ede17d0ffa539e1c9a9
refs/heads/master: 60e53882ace216cf58fc847a94d839f32b8eb7bf
9 changes: 3 additions & 6 deletions trunk/sound/pci/hda/patch_cirrus.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,12 +471,9 @@ static int parse_digital_input(struct hda_codec *codec)
struct auto_pin_cfg *cfg = &spec->autocfg;
int idx;

if (!cfg->dig_in_pin)
return 0;
spec->dig_in = get_adc(codec, cfg->dig_in_pin, &idx);
if (!spec->dig_in)
return 0;
return snd_hda_create_spdif_in_ctls(codec, spec->dig_in);
if (cfg->dig_in_pin)
spec->dig_in = get_adc(codec, cfg->dig_in_pin, &idx);
return 0;
}

/*
Expand Down

0 comments on commit 8012108

Please sign in to comment.