diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-06-20 12:52:46 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-25 10:04:25 +0200 |
commit | fea80fae552c428b67591cb0aacca56c11c3eeaf (patch) | |
tree | 5f4f05f9b0c9be25410a7a3eff509ed4a36c880a /sound/pci/hda/patch_conexant.c | |
parent | a5cb463a81737dde1ef3f1b1cf3e17bf69f20669 (diff) | |
download | linux-fea80fae552c428b67591cb0aacca56c11c3eeaf.tar.bz2 |
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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
0 files changed, 0 insertions, 0 deletions