ALSA: usb-audio: Add new quirk FIXED_RATE for JBL Quantum810 Wireless
authorJaroslav Kysela <perex@perex.cz>
Thu, 15 Dec 2022 15:30:37 +0000 (16:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jan 2023 10:11:43 +0000 (11:11 +0100)
commitbb641476f581d0523597a2f25737c6a8e4d1f5e6
tree51070406cf34df0b2b3653f642bb4741c0b73f67
parent9e456d460f1b4a756cb9c5aebe7609f2439ccb7d
ALSA: usb-audio: Add new quirk FIXED_RATE for JBL Quantum810 Wireless

[ Upstream commit fd28941cff1cd9d8ffa59fe11eb64148e09b6ed6 ]

It seems that the firmware is broken and does not accept
the UAC_EP_CS_ATTR_SAMPLE_RATE URB. There is only one rate (48000Hz)
available in the descriptors for the output endpoint.

Create a new quirk QUIRK_FLAG_FIXED_RATE to skip the rate setup
when only one rate is available (fixed).

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216798
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20221215153037.1163786-1-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/usb/card.h
sound/usb/endpoint.c
sound/usb/endpoint.h
sound/usb/implicit.c
sound/usb/implicit.h
sound/usb/pcm.c
sound/usb/pcm.h
sound/usb/quirks.c
sound/usb/usbaudio.h