linux-stable/sound/usb
Takashi Iwai bc68c6a2d8 ALSA: usb-audio: Set up (implicit) sync for Saffire 6
commit e0469d6581 upstream.

Focusrite Saffire 6 has fixed audioformat quirks with multiple
endpoints assigned to a single altsetting.  Unfortunately the generic
parser couldn't detect the sync endpoint correctly as the implicit
sync due to the missing EP attribute bits.  In the former kernels, it
used to work somehow casually, but it's been broken for a while after
the large code change in 5.11.

This patch cures the regression by the following:
- Allow the static quirk table to provide the sync EP information;
  we just need to fill the fields and let the generic parser skipping
  parsing if sync_ep is already set.
- Add the sync endpoint information to the entry for Saffire 6.

Fixes: 7b0efea4ba ("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-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-14 18:45:16 +02:00
..
6fire
bcd2000
caiaq
hiface
line6
misc
usx2y ALSA: Fix some typo 2021-12-06 10:04:05 +01:00
card.c ALSA: usb-audio: Drop CONFIG_PM ifdefs 2021-12-06 10:19:40 +01:00
card.h
clock.c ALSA: usb-audio: Optimize TEAC clock quirk 2022-06-06 08:49:00 +02:00
clock.h
endpoint.c
endpoint.h
format.c ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID 2021-12-02 09:39:04 +01:00
format.h
helper.c
helper.h
implicit.c ALSA: usb-audio: Move generic implicit fb quirk entries into quirks.c 2022-06-09 10:29:49 +02:00
implicit.h
Kconfig
Makefile
media.c
media.h
midi.c ALSA: usb-audio: Cancel pending work at closing a MIDI substream 2022-06-09 10:29:27 +02:00
midi.h
mixer.c ALSA: usb-audio: Don't abort resume upon errors 2022-02-14 13:57:51 +01:00
mixer.h ALSA: usb-audio: Drop CONFIG_PM ifdefs 2021-12-06 10:19:40 +01:00
mixer_maps.c ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX. 2022-04-19 09:02:33 +02:00
mixer_quirks.c ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB 2022-03-12 08:50:43 +01:00
mixer_quirks.h ALSA: usb-audio: Drop CONFIG_PM ifdefs 2021-12-06 10:19:40 +01:00
mixer_s1810c.c ALSA: usb-audio: remove redundant assignment to variable c 2022-02-08 08:21:32 +01:00
mixer_s1810c.h
mixer_scarlett.c
mixer_scarlett.h
mixer_scarlett_gen2.c ALSA: scarlett2: Add support for the internal "standalone" switch 2022-03-08 10:05:48 +01:00
mixer_scarlett_gen2.h
mixer_us16x08.c
mixer_us16x08.h
pcm.c ALSA: usb-audio: Set up (implicit) sync for Saffire 6 2022-06-14 18:45:16 +02:00
pcm.h
power.c
power.h ALSA: usb-audio: Drop CONFIG_PM ifdefs 2021-12-06 10:19:40 +01:00
proc.c
proc.h
quirks-table.h ALSA: usb-audio: Set up (implicit) sync for Saffire 6 2022-06-14 18:45:16 +02:00
quirks.c ALSA: usb-audio: Move generic implicit fb quirk entries into quirks.c 2022-06-09 10:29:49 +02:00
quirks.h
stream.c
stream.h
usbaudio.h ALSA: usb-audio: Add quirk bits for enabling/disabling generic implicit fb 2022-06-09 10:29:49 +02:00
validate.c