android_kernel_samsung_a7y1.../sound/usb
Ard van Breemen 8a80ccfe30 ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
[ Upstream commit 1b34121d9f26d272b0b2334209af6b6fc82d4bf1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 07:38:16 +02:00
..
6fire A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bcd2000 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
caiaq A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hiface A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
line6 ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1 2020-04-06 20:16:45 +02:00
misc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usx2y A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
card.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
card.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clock.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debug.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
endpoint.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
endpoint.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
format.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
format.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
helper.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
helper.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
midi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
midi.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mixer_maps.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mixer_quirks.c ALSA: usb-audio: fix sign unintended sign extension on left shifts 2020-04-06 19:21:04 +02:00
mixer_quirks.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mixer_scarlett.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mixer_scarlett.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mixer.c ALSA: usb-audio: Fix an OOB bug in parse_audio_mixer_unit 2020-04-06 21:33:20 +02:00
mixer.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm.c ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid 2020-04-07 07:38:16 +02:00
pcm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
power.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
proc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
proc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
quirks-table.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
quirks.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
quirks.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stream.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stream.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usbaudio.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30