commit | c99f0802e42fcd38e84ee4d306691805ebed204f | [log] [tgz] |
---|---|---|
author | Jorge Sanjuan <jorge.sanjuan@codethink.co.uk> | Fri May 11 16:25:35 2018 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue May 15 07:29:10 2018 +0200 |
tree | 7ab505bdf74f8977c919b52934d4358f7c5faccc | |
parent | 2f0d520a1a73555ac51c19cd494493f60b4c1cea [diff] |
ALSA: usb-audio: Use Class Specific EP for UAC3 devices. bmAtributes offset doesn't exist in the UAC3 CS_EP descriptor. Hence, checking for pitch control as if it was UAC2 doesn't make any sense. Use the defined UAC3 offsets instead. Fixes: 9a2fe9b801f5 ("ALSA: usb: initial USB Audio Device Class 3.0 support") Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk> Reviewed-by: Ruslan Bilovol <ruslan.bilovol@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>