Эх сурвалжийг харах

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>
Chris J Arges 10 жил өмнө
parent
commit
f41d6049d1
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      sound/usb/mixer.h

+ 1 - 0
sound/usb/mixer.h

@@ -53,6 +53,7 @@ struct usb_mixer_elem_info {
 	int cached;
 	int cache_val[MAX_CHANNELS];
 	u8 initialized;
+	void *private_data;
 };
 
 int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,