]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/via: Fix missing beep setup
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Jun 2022 10:40:08 +0000 (12:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Jun 2022 10:40:42 +0000 (12:40 +0200)
commita188ef37cca2c74d728f8066cea442eb8e283f8d
tree82bd54b24cc8d74e7eae0ba775885c6c5941dd07
parent81faf8b91e9d74ad9c264980e0867bf4ba3de66e
ALSA: hda/via: Fix missing beep setup

Like the previous fix for Conexant codec, the beep_nid has to be set
up before calling snd_hda_gen_parse_auto_config(); otherwise it'd miss
the path setup.

Fix the call order for addressing the missing beep setup.

Fixes: 8a56774973b7 ("ALSA: hda/via - Simplify control management")
Cc: <stable@vger.kernel.org>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216152
Link: https://lore.kernel.org/r/20220620104008.1994-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c