summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-01-13 14:40:43 +0100
committerTakashi Iwai <tiwai@suse.de>2011-01-13 14:44:37 +0100
commit9fb1ef25f4d31f07cdaf7c6075b40bbcb00c1f92 (patch)
tree1768a4e7c1576edf55420dd3a6f65f5f989b7152 /sound/pci
parent6fc398cb306b0441436c93d6ddead3109b99f884 (diff)
downloadtalos-obmc-linux-9fb1ef25f4d31f07cdaf7c6075b40bbcb00c1f92.tar.gz
talos-obmc-linux-9fb1ef25f4d31f07cdaf7c6075b40bbcb00c1f92.zip
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')
-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,
{
int coef;
+ if (pre_init)
+ return;
coef = alc_read_coef_idx(codec, 0x1e);
alc_write_coef_idx(codec, 0x1e, coef | 0x80);
}
OpenPOWER on IntegriCloud