Skip to content
Commit 0785b0ec authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 51e19ca5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment