ALSA: usb-audio: Add audigy2nx resume support
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Nov 2014 11:58:51 +0000 (12:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Nov 2014 10:57:46 +0000 (11:57 +0100)
commit9cf3689bfe0784b6f6afb301bece95d3fc3eeb64
tree307a7f8d3331c92d8722f8d9c964db70e7af1877
parent3360b84b8ed1f08bfb39743465b858a04492fcc3
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>
sound/usb/mixer.h
sound/usb/mixer_quirks.c