Kirill Marinushkin a6618f4aed ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
Currently, the offsets in the UAC2 processing unit descriptor are
calculated incorrectly. It causes an issue when connecting the device which
provides such a feature:

~~~~
[84126.724420] usb 1-1.3.1: invalid Processing Unit descriptor (id 18)
~~~~

After this patch is applied, the UAC2 processing unit inits w/o this error.

Fixes: 23caaf19b11e ("ALSA: usb-mixer: Add support for Audio Class v2.0")
Signed-off-by: Kirill Marinushkin <k.marinushkin@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-03-19 16:43:41 +01:00
..
2018-02-06 10:32:13 +01:00
2018-02-07 11:22:44 -08:00
2018-02-10 13:16:35 -08:00
2018-03-09 13:31:08 -08:00
2018-02-02 10:01:04 -08:00
2018-03-07 10:50:15 -08:00
2018-03-01 14:32:23 -08:00
2018-02-07 13:10:43 -08:00