summaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-11-18 12:58:51 +0100
committerTakashi Iwai <tiwai@suse.de>2014-11-21 11:57:46 +0100
commit9cf3689bfe0784b6f6afb301bece95d3fc3eeb64 (patch)
tree307a7f8d3331c92d8722f8d9c964db70e7af1877 /sound/usb/mixer.h
parent3360b84b8ed1f08bfb39743465b858a04492fcc3 (diff)
downloadlinux-9cf3689bfe0784b6f6afb301bece95d3fc3eeb64.tar.bz2
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>
Diffstat (limited to 'sound/usb/mixer.h')
-rw-r--r--sound/usb/mixer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/usb/mixer.h b/sound/usb/mixer.h
index 0fe87b7c7f00..0b3740ea6614 100644
--- a/sound/usb/mixer.h
+++ b/sound/usb/mixer.h
@@ -23,7 +23,6 @@ struct usb_mixer_interface {
struct usb_ctrlrequest *rc_setup_packet;
u8 rc_buffer[6];
- u8 audigy2nx_leds[3];
u8 xonar_u1_status;
};