]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - sound/usb/mixer.c
ALSA: sound/usb: fix UAC1 regression
[net-next-2.6.git] / sound / usb / mixer.c
index 1deef623c0810e36af237893e264d8813046848a..e350f053440a481c7d8f5a79914b6b46ac00afee 100644 (file)
@@ -656,7 +656,7 @@ static int check_input_term(struct mixer_build *state, int id, struct usb_audio_
                case UAC_FEATURE_UNIT: {
                        /* the header is the same for v1 and v2 */
                        struct uac_feature_unit_descriptor *d = p1;
-                       id = d->bUnitID;
+                       id = d->bSourceID;
                        break; /* continue to parse */
                }
                case UAC_MIXER_UNIT: {