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

ALSA: hda/realtek - Use common helper for creating beep controls



In the Realtek codec driver, we used to build kctl elements for beep
mixer in the own build_controls callback.  This is an open-code and
can be covered by the standard feature of the generic parser with
snd_hda_gen_add_kctl() instead.

Also, after the conversion, spec->beep_amp becomes superfluous; hence
it's removed along with the conversion.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a5cb463a
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