ALSA: hda - Apply Sony VAIO hweq fixup only once
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Jan 2011 13:40:43 +0000 (14:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 13 Jan 2011 13:44:37 +0000 (14:44 +0100)
This should be applied also only once as a part of the initialization.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index f13920e..98b4b2e 100644 (file)
@@ -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);
 }