Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342628
b: refs/heads/master
c: 5dae5fd
h: refs/heads/master
v: v3
  • Loading branch information
Eldad Zack authored and Takashi Iwai committed Nov 29, 2012
1 parent 1a0fc96 commit bee57e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f814105926cbeb003b1684cd5564612bccfe45c
refs/heads/master: 5dae5fd24071319bb67d3375217d5b0b6d16cb0b
13 changes: 12 additions & 1 deletion trunk/sound/usb/mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -723,8 +723,19 @@ static int check_input_term(struct mixer_build *state, int id, struct usb_audio_
return 0;
}
case UAC1_PROCESSING_UNIT:
case UAC1_EXTENSION_UNIT: {
case UAC1_EXTENSION_UNIT:
/* UAC2_PROCESSING_UNIT_V2 */
/* UAC2_EFFECT_UNIT */ {
struct uac_processing_unit_descriptor *d = p1;

if (state->mixer->protocol == UAC_VERSION_2 &&
hdr[2] == UAC2_EFFECT_UNIT) {
/* UAC2/UAC1 unit IDs overlap here in an
* uncompatible way. Ignore this unit for now.
*/
return 0;
}

if (d->bNrInPins) {
id = d->baSourceID[0];
break; /* continue to parse */
Expand Down

0 comments on commit bee57e4

Please sign in to comment.