aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer.h
diff options
context:
space:
mode:
authorChris J Arges <chris.j.arges@canonical.com>2014-11-12 13:07:00 -0500
committerTakashi Iwai <tiwai@suse.de>2014-11-13 01:31:52 -0500
commitf41d6049d18694e8b3d938464432d0e51f671089 (patch)
tree33a9895b690e00d37d7c7a836db0161a69617b1a /sound/usb/mixer.h
parentef9566a3a1c0e46dadfa6c722e8a685ac0cea081 (diff)
ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info
Add a private_data pointer to usb_mixer_elem_info to allow other mixer implementations to extend the structure as necessary. Signed-off-by: Chris J Arges <chris.j.arges@canonical.com> 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, 1 insertions, 0 deletions
diff --git a/sound/usb/mixer.h b/sound/usb/mixer.h
index 2c7b9c9c2aa6..7423f998cfb5 100644
--- a/sound/usb/mixer.h
+++ b/sound/usb/mixer.h
@@ -53,6 +53,7 @@ struct usb_mixer_elem_info {
53 int cached; 53 int cached;
54 int cache_val[MAX_CHANNELS]; 54 int cache_val[MAX_CHANNELS];
55 u8 initialized; 55 u8 initialized;
56 void *private_data;
56}; 57};
57 58
58int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif, 59int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,