From: Takashi Iwai Date: Tue, 18 Nov 2014 11:58:51 +0000 (+0100) Subject: ALSA: usb-audio: Add audigy2nx resume support X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~21^2~35^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf3689bfe0784b6f6afb301bece95d3fc3eeb64;p=pandora-kernel.git 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 --- Reading git-diff-tree failed