mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
ALSA: sound/usb: fix UAC1 regression
Commit 23caaf19b ("ALSA: usb-mixer: Add support for Audio Class v2.0")
broke support for Class1 devices due to two faulty changes. This patch
fixes it.
Signed-off-by: Daniel Mack <[email protected]>
Reported-and-Tested-by: The Source <[email protected]>
Cc: Clemens Ladisch <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
27762b2ce1
commit
5e68888356
2 changed files with 2 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue