summaryrefslogtreecommitdiff
path: root/sound/usb/quirks-table.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-06-06 18:09:09 +0200
committerTakashi Iwai <tiwai@suse.de>2022-06-06 18:11:09 +0200
commitefb75df105e82f076a85b9f2d81410428bcb55fc (patch)
treeefd0327c76ef57ad9cc9dfbb572fb1c4643f01c4 /sound/usb/quirks-table.h
parent85743a847caeab696dafc4ce1a7e1e2b7e29a0f6 (diff)
ALSA: usb-audio: Skip generic sync EP parse for secondary EP
When ep_idx is already non-zero, it means usually a capture stream that is set up explicity by a fixed-format quirk, and applying the check for generic (non-implicit-fb) sync EPs might hit incorrectly, resulting in a bogus sync endpoint for the capture stream. This patch adds a check for the ep_idx and skip if it's a secondary endpoint. It's a part of the fixes for regressions on Saffire 6. Fixes: 7b0efea4baf0 ("ALSA: usb-audio: Add missing ep_idx in fixed EP quirks") Reported-and-tested-by: André Kapelrud <a.kapelrud@gmail.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220606160910.6926-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks-table.h')
0 files changed, 0 insertions, 0 deletions