]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jun 2022 06:58:44 +0000 (08:58 +0200)
commit8ec2e5dc22c9c8a0967a45d7053b69687aef1de3
treedda7a53b621d57d7788914a417122bd507301494
parentb9c01a93a6d668a4ec90355759b625b695f9efca
ALSA: hda/via: Fix missing beep setup

commit 7351f5fba6a58777d571df6e212c1c82fffdd64a upstream.

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: 75b7d8b5c2a6 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_via.c