commit | 9cf3689bfe0784b6f6afb301bece95d3fc3eeb64 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Nov 18 12:58:51 2014 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Nov 21 11:57:46 2014 +0100 |
tree | 307a7f8d3331c92d8722f8d9c964db70e7af1877 | |
parent | 3360b84b8ed1f08bfb39743465b858a04492fcc3 [diff] |
ALSA: usb-audio: Add audigy2nx resume support Rewrite the code to handle LEDs on audigy2nx and co for supporting the proper resume. A new internal helper function add_single_ctl_with_resume() is introduced to manage the usb_mixer_elem_list more easily. Also while we're at it, move audigy2nx_leds[] in usb_mixer_interface struct into the private_value of each kctl, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>