[PATCH 9/9] ALSA: hda/realtek: Remove redundant init_hook() in alc_default_init()
Cezary Rojewski
cezary.rojewski at intel.com
Wed Jul 6 14:02:30 CEST 2022
snd_hda_gen_init() does that for every codec already.
Signed-off-by: Cezary Rojewski <cezary.rojewski at intel.com>
---
sound/pci/hda/patch_realtek.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f3ad454b3fbf..a8688025352d 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -923,9 +923,6 @@ static int alc_init(struct hda_codec *codec)
if (is_s4_resume(codec))
alc_pre_init(codec);
- if (spec->init_hook)
- spec->init_hook(codec);
-
spec->gen.skip_verbs = 1; /* applied in below */
snd_hda_gen_init(codec);
alc_fix_pll(codec);
--
2.25.1
More information about the Alsa-devel
mailing list