Skip to content
Commit 1b34121d authored by Ard van Breemen's avatar Ard van Breemen Committed by Takashi Iwai
Browse files

ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid



The Linux kernel assumes that get_endpoint(alts,0) and
get_endpoint(alts,1) are eachothers feedback endpoints.
To reassure that validity it will test bsynchaddress to comply with that
assumption. But if the bsyncaddress is 0 (invalid), it will flag that as
a wrong assumption and return an error.
Fix: Skip the test if bSynchAddress is 0.
Note: those with a valid bSynchAddress should have a code quirck added.

Signed-off-by: default avatarArd van Breemen <ard@kwaak.net>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f7f53018
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment