ALSA: usb-audio: Move rate validation quirk into quirk_flags
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Jul 2021 07:43:59 +0000 (09:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:06:03 +0000 (09:06 +0200)
commit8bfe17ad975ffbd0c7ce673993ed2242fbc4ad94
treeb1a82ae9ca618d6480b0b517863c1be8202d0225
parent1f074fe569870ed91c8ad2f67cccd9db5265443e
ALSA: usb-audio: Move rate validation quirk into quirk_flags

The rate validation at the device probe is applied only to the
specific devices (currently only for MOTU devices), and this check can
be moved to quirk_flags gracefully, too.

Link: https://lore.kernel.org/r/20210729074404.19728-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/format.c
sound/usb/quirks.c
sound/usb/usbaudio.h