ALSA: hda/conexant - Clean up beep code
authorTakashi Iwai <tiwai@suse.de>
Wed, 20 Jun 2018 15:06:58 +0000 (17:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Jun 2018 08:04:25 +0000 (10:04 +0200)
commit51e19ca5f7555802687324d3bee3bc6b7df240d4
treeef9e12d9c41194cc6435518e27a89bcb1c3aca41
parentfea80fae552c428b67591cb0aacca56c11c3eeaf
ALSA: hda/conexant - Clean up beep code

Like the previous commit for Realtek codec, the similar cleanup work
can be applied to Conexant codec, too.  A slight difference is that
the call of cx_auto_parse_beep() is moved after
snd_hda_gen_parse_auto_config().  It's not strictly needed, but it'd
be good to make the creation of such beep mixers at the end, which
matches with the former situation.

Along with this conversion, cx_auto_build_controls() becomes just
calling snd_hda_gen_build_controls(), so it's simply replaced with
snd_hda_gen_build_controls.

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