• Takashi Iwai's avatar
    ALSA: hda/conexant - Clean up beep code · 51e19ca5
    Takashi Iwai authored
    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: default avatarTakashi Iwai <tiwai@suse.de>
    51e19ca5
patch_conexant.c 33.3 KB