]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Enable rate validation for Scarlett devices
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Oct 2021 07:40:50 +0000 (09:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Oct 2021 05:57:19 +0000 (07:57 +0200)
commitd01cc66b41521adbffde9b6fccd0d66151d3972d
tree4c7154ab0b4543bd541e1140073d25016140b8cd
parent8330708dd185846e31fb86e1e21a4ee1a2500376
ALSA: usb-audio: Enable rate validation for Scarlett devices

The Scarlett device series from Focusrite Novation seem requiring the
sample rate validations as we've done for MOTU devices; otherwise the
driver probes invalid audioformat entries that contain the sample
rates that actually don't work, and this may result in an incomplete
setup as reported recently.

This patch adds the needed quirk flag for enabling the sample rate
validation for Focusrite Novation devices.

Fixes: 4900cdaef91d ("ALSA: usb-audio: workaround for iface reset issue")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214493
Link: https://lore.kernel.org/r/20211004074050.28241-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c