Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231837
b: refs/heads/master
c: 5870112
h: refs/heads/master
i:
  231835: a1f4610
v: v3
  • Loading branch information
Takashi Iwai committed Jan 13, 2011
1 parent d64eeb7 commit 5025f88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: b5bfbc670283d1ff21df4cd3f9f036cc47e34ce4
refs/heads/master: 5870112021fb38e73b25dad3baec4ca0819c594a
5 changes: 4 additions & 1 deletion trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -1714,6 +1714,7 @@ enum {
enum {
ALC_FIXUP_ACT_PRE_PROBE,
ALC_FIXUP_ACT_PROBE,
ALC_FIXUP_ACT_INIT,
};

static void alc_apply_fixup(struct hda_codec *codec, int action)
Expand Down Expand Up @@ -3910,6 +3911,8 @@ static int alc_init(struct hda_codec *codec)
if (spec->init_hook)
spec->init_hook(codec);

alc_apply_fixup(codec, ALC_FIXUP_ACT_INIT);

hda_call_check_power_status(codec, 0x01);
return 0;
}
Expand Down Expand Up @@ -14871,7 +14874,7 @@ static void alc269_fixup_hweq(struct hda_codec *codec,
{
int coef;

if (action != ALC_FIXUP_ACT_PROBE)
if (action != ALC_FIXUP_ACT_INIT)
return;
coef = alc_read_coef_idx(codec, 0x1e);
alc_write_coef_idx(codec, 0x1e, coef | 0x80);
Expand Down

0 comments on commit 5025f88

Please sign in to comment.