Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133057
b: refs/heads/master
c: 07eba61
h: refs/heads/master
i:
  133055: 46c542a
v: v3
  • Loading branch information
Takashi Iwai committed Feb 19, 2009
1 parent 961e235 commit 223d83a
Show file tree
Hide file tree
Showing 2 changed files with 9 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: b3bdb30b6d1989129e297641fec791e9e555e4d8
refs/heads/master: 07eba61dd68678e30b24b4776f59798f625e089d
13 changes: 8 additions & 5 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -11051,10 +11051,12 @@ static int patch_alc262(struct hda_codec *codec)
}
}

err = snd_hda_attach_beep_device(codec, 0x1);
if (err < 0) {
alc_free(codec);
return err;
if (!spec->no_analog) {
err = snd_hda_attach_beep_device(codec, 0x1);
if (err < 0) {
alc_free(codec);
return err;
}
}

if (board_config != ALC262_AUTO)
Expand Down Expand Up @@ -11087,7 +11089,8 @@ static int patch_alc262(struct hda_codec *codec)
}
if (!spec->cap_mixer && !spec->no_analog)
set_capture_mixer(spec);
set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT);
if (!spec->no_analog)
set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT);

spec->vmaster_nid = 0x0c;

Expand Down

0 comments on commit 223d83a

Please sign in to comment.