diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-07-28 18:20:25 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-07-28 18:25:03 +0200 |
commit | 6479c63188290beae83ade3243b9d6eb47d394b6 (patch) | |
tree | d8901ee4f035518512e86ebb2f7955f5124b5dbf /kernel/freezer.c | |
parent | 4417932315d185b59c0089091de7fa509c59fd5a (diff) |
ALSA: hda - Create Capture controls dynamically
Instead of static snd_kcontrol_new arrays, create "Capture Volume"
and "Capture Switch" controls dynamically based on the mixer attr
values (made via HDA_COMPOSE_AMP_VAL()).
This reduces the code size and gives more flexibility to change
the number of controls later.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions