diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-11-23 11:53:30 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-11-23 17:15:06 +0300 |
commit | 61cc2d775e0941ca61b9666760a656919d80077a (patch) | |
tree | 921a68050a0905801a37b90d5d391d9f2cbbcb7e /sound/usb/endpoint.c | |
parent | 75c16b5147ee42270b18b5f32bc3f17f8b74b5eb (diff) | |
download | linux-61cc2d775e0941ca61b9666760a656919d80077a.tar.xz |
ALSA: usb-audio: Fix EP matching for continuous rates
The function to evaluate the match of the parameters with an EP
assumes only the discrete rate tables and doesn't handle the
continuous rates properly.
This patch fixes match_endpoint_audioformats() to handle the
continuous rates. Also the almost useless debug prints there are
dropped.
Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-25-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/endpoint.c')
0 files changed, 0 insertions, 0 deletions