aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Tsoy <[email protected]>2020-04-18 20:58:15 +0300
committerTakashi Iwai <[email protected]>2020-04-18 21:08:39 +0200
commit1c826792586f526a5a5cd21d55aad388f5bb0b23 (patch)
tree2ef708bb656957a6e419eefa4c4ddf425a032044 /lib
parentb392350ec3f229ad9603d3816f753479e441d99a (diff)
ALSA: usb-audio: Filter out unsupported sample rates on Focusrite devices
Many Focusrite devices supports a limited set of sample rates per altsetting. These includes audio interfaces with ADAT ports: - Scarlett 18i6, 18i8 1st gen, 18i20 1st gen; - Scarlett 18i8 2nd gen, 18i20 2nd gen; - Scarlett 18i8 3rd gen, 18i20 3rd gen; - Clarett 2Pre USB, 4Pre USB, 8Pre USB. Maximum rate is exposed in the last 4 bytes of Format Type descriptor which has a non-standard bLength = 10. Tested-by: Alexey Skobkin <[email protected]> Signed-off-by: Alexander Tsoy <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions