]> 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)
commit90eeccae35a1e2e009c31778d9fb5ee6f40b6925
tree4c7154ab0b4543bd541e1140073d25016140b8cd
parent58b016ea211bfd4dafe81c401ca2eadc4f6f0f38
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: 528a5a8c530e ("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