aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKirill Marinushkin <[email protected]>2018-01-29 06:37:55 +0100
committerTakashi Iwai <[email protected]>2018-02-12 09:07:29 +0100
commit447cae58cecd69392b74a4a42cd0ab9cabd816af (patch)
tree4654851a3c4cab88496c6d7371473f9830991358 /tools/perf/scripts/python/export-to-postgresql.py
parent2bda7141b89aa35308da69aac7f486fa81db73ba (diff)
ALSA: usb-audio: Fix UAC2 get_ctl request with a RANGE attribute
The layout of the UAC2 Control request and response varies depending on the request type. With the current implementation, only the Layout 2 Parameter Block (with the 2-byte sized RANGE attribute) is handled properly. For the Control requests with the 1-byte sized RANGE attribute (Bass Control, Mid Control, Tremble Control), the response is parsed incorrectly. This commit: * fixes the wLength field value in the request * fixes parsing the range values from the response Fixes: 23caaf19b11e ("ALSA: usb-mixer: Add support for Audio Class v2.0") Signed-off-by: Kirill Marinushkin <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions