commit | 0785b0ecb8fa960b4f49010d0679d174efad423c | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Jun 20 17:10:51 2018 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Jun 25 10:04:26 2018 +0200 |
tree | c7d53d462cecaaf3070d2557fbababce7f09b59b | |
parent | 51e19ca5f7555802687324d3bee3bc6b7df240d4 [diff] |
ALSA: hda/cirrus - Simplify creation of new controls This patch moves the mixer creation code in Cirrus codec driver from its own build_controls callback to snd_hda_gen_add_kctl() for simplification. As a bonus, this allows us to remove the cs421x_build_controls as it becomes identical with snd_hda_gen_build_controls(). Signed-off-by: Takashi Iwai <tiwai@suse.de>