diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-06-20 17:10:51 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-25 10:04:26 +0200 |
commit | 0785b0ecb8fa960b4f49010d0679d174efad423c (patch) | |
tree | c7d53d462cecaaf3070d2557fbababce7f09b59b /drivers/dio/dio-sysfs.c | |
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>
Diffstat (limited to 'drivers/dio/dio-sysfs.c')
0 files changed, 0 insertions, 0 deletions