ALSA: usb-audio: Move set-interface-first workaround into common quirk
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 Aug 2021 05:57:20 +0000 (07:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Aug 2021 05:58:16 +0000 (07:58 +0200)
commit6e41340994e5b5bd9262246e8d1f64406d72ab8b
tree86706db314a654c2222d3549a7d5dab4c56f413f
parent1a10d5b0f6c2aebecec5f6f99d651bc2e2b4ce44
ALSA: usb-audio: Move set-interface-first workaround into common quirk

The recent quirk for WALKMAN (commit 7af5a14371c1: "ALSA: usb-audio:
Fix regression on Sony WALKMAN NW-A45 DAC") may be required for other
devices and is worth to be put into the common quirk flags.
This patch adds a new quirk flag bit QUIRK_FLAG_SET_IFACE_FIRST and a
quirk table entry for the device.

Link: https://lore.kernel.org/r/20210824055720.9240-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa-configuration.rst
sound/usb/endpoint.c
sound/usb/quirks.c
sound/usb/usbaudio.h