aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-08-13 09:40:53 -0400
committerJaroslav Kysela <perex@perex.cz>2008-08-15 05:48:01 -0400
commit7a9b8063cf7d78d7de4f2555357101087548c699 (patch)
treee52206406078301f572057597ba45eb0a7a413ca /sound/usb/usbaudio.h
parent8a8f2662c535e1dedced896cc68cb8473fd98fa0 (diff)
ALSA: usb-audio - Add ignore_ctl_error parameter
Added the ignore_ctl_error parameter to enable/disable the control-error handling for mixer interfaces. It was a hard-coded ifdef, and now you can change it more easily. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/usb/usbaudio.h')
-rw-r--r--sound/usb/usbaudio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h
index 140ba363414c..f3ca77f08eac 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -223,7 +223,8 @@ int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe,
223 __u8 request, __u8 requesttype, __u16 value, __u16 index, 223 __u8 request, __u8 requesttype, __u16 value, __u16 index,
224 void *data, __u16 size, int timeout); 224 void *data, __u16 size, int timeout);
225 225
226int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif); 226int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
227 int ignore_error);
227void snd_usb_mixer_disconnect(struct list_head *p); 228void snd_usb_mixer_disconnect(struct list_head *p);
228 229
229int snd_usb_create_midi_interface(struct snd_usb_audio *chip, struct usb_interface *iface, 230int snd_usb_create_midi_interface(struct snd_usb_audio *chip, struct usb_interface *iface,