Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62066
b: refs/heads/master
c: 8c87286
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jul 20, 2007
1 parent 075f920 commit aa1eec3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: a18519e1e4783628182743e6cca5f9dfa6a9e3bd
refs/heads/master: 8c87286fdcb67f796cc9477a9bc1a2f1e173d99f
8 changes: 3 additions & 5 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -11169,12 +11169,10 @@ static int alc662_parse_auto_config(struct hda_codec *codec)

if (err < 0)
return err;
else if (err > 0)
/* hack - override the init verbs */
spec->init_verbs[0] = alc662_auto_init_verbs;
spec->init_verbs[spec->num_init_verbs++] = alc662_auto_init_verbs;
spec->mixers[spec->num_mixers] = alc662_capture_mixer;
spec->num_mixers++;
return err;
return 1;
}

/* additional initialization for auto-configuration model */
Expand Down Expand Up @@ -11211,7 +11209,7 @@ static int patch_alc662(struct hda_codec *codec)
if (err < 0) {
alc_free(codec);
return err;
} else if (err) {
} else if (!err) {
printk(KERN_INFO
"hda_codec: Cannot set up configuration "
"from BIOS. Using base mode...\n");
Expand Down

0 comments on commit aa1eec3

Please sign in to comment.