From: Takashi Iwai Date: Thu, 13 Jan 2011 13:40:43 +0000 (+0100) Subject: ALSA: hda - Apply Sony VAIO hweq fixup only once X-Git-Url: https://git.karo-electronics.de/?p=mv-sheeva.git;a=commitdiff_plain;h=9fb1ef25f4d31f07cdaf7c6075b40bbcb00c1f92 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 --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index f13920e5384..98b4b2e1b93 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); }