Update of /cvsroot/alsa/alsa-kernel/usb
In directory sc8-pr-cvs1:/tmp/cvs-serv23303

Modified Files:
        usbmixer.c 
Log Message:
probe units even under a selector unit which is marked as ignored or has
only a single selector.



Index: usbmixer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbmixer.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- usbmixer.c  24 Sep 2003 13:12:50 -0000      1.23
+++ usbmixer.c  26 Sep 2003 14:29:05 -0000      1.24
@@ -1358,16 +1358,16 @@
                return -EINVAL;
        }
 
+       for (i = 0; i < num_ins; i++) {
+               if ((err = parse_audio_unit(state, desc[5 + i])) < 0)
+                       return err;
+       }
+
        if (num_ins == 1) /* only one ? nonsense! */
                return 0;
 
        if (check_ignored_ctl(state, unitid, 0))
                return 0;
-
-       for (i = 0; i < num_ins; i++) {
-               if ((err = parse_audio_unit(state, desc[5 + i])) < 0)
-                       return err;
-       }
 
        cval = snd_magic_kcalloc(usb_mixer_elem_info_t, 0, GFP_KERNEL);
        if (! cval) {



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to