projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc398c
)
ALSA: hda - Apply Sony VAIO hweq fixup only once
author
Takashi Iwai
<tiwai@suse.de>
Thu, 13 Jan 2011 13:40:43 +0000
(14:40 +0100)
committer
Takashi 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index f13920e53847b7d02c25583c5770adb414f4021d..98b4b2e1b930adbfff10004d946ad7cc18ea1908 100644
(file)
--- 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);
}