summaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer_us16x08.h
diff options
context:
space:
mode:
authorArd van Breemen <ard@kwaak.net>2019-08-02 13:52:14 +0200
committerTakashi Iwai <tiwai@suse.de>2019-08-06 12:52:15 +0200
commit1b34121d9f26d272b0b2334209af6b6fc82d4bf1 (patch)
tree71d649d08e5592cdfae0d7a0c4c014e57a7db906 /sound/usb/mixer_us16x08.h
parentf7f530181461aaf6afa0b3f0be4d239dea410896 (diff)
downloadlinux-1b34121d9f26d272b0b2334209af6b6fc82d4bf1.tar.gz
linux-1b34121d9f26d272b0b2334209af6b6fc82d4bf1.tar.bz2
linux-1b34121d9f26d272b0b2334209af6b6fc82d4bf1.zip
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: Ard van Breemen <ard@kwaak.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_us16x08.h')
0 files changed, 0 insertions, 0 deletions