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)
commit5963e5262180129f1be7556bd96994b6e52f3178
tree4c7154ab0b4543bd541e1140073d25016140b8cd
parentcc03069a397005da24f6783835c274d5aedf6043
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: fe773b8711e3 ("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