aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-01-13 08:40:43 -0500
committerTakashi Iwai <tiwai@suse.de>2011-01-13 08:44:37 -0500
commit9fb1ef25f4d31f07cdaf7c6075b40bbcb00c1f92 (patch)
tree1768a4e7c1576edf55420dd3a6f65f5f989b7152 /sound/pci/hda/patch_realtek.c
parent6fc398cb306b0441436c93d6ddead3109b99f884 (diff)
ALSA: hda - Apply Sony VAIO hweq fixup only once
This should be applied also only once as a part of the initialization. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f13920e53847..98b4b2e1b930 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -14814,6 +14814,8 @@ static void alc269_fixup_hweq(struct hda_codec *codec,
14814{ 14814{
14815 int coef; 14815 int coef;
14816 14816
14817 if (pre_init)
14818 return;
14817 coef = alc_read_coef_idx(codec, 0x1e); 14819 coef = alc_read_coef_idx(codec, 0x1e);
14818 alc_write_coef_idx(codec, 0x1e, coef | 0x80); 14820 alc_write_coef_idx(codec, 0x1e, coef | 0x80);
14819} 14821}