diff options
author | Jorge Sanjuan <[email protected]> | 2018-05-04 04:24:01 +0300 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2018-05-04 09:39:27 +0200 |
commit | 3763f6186703d9939913996da1c71d8f8ddb035c (patch) | |
tree | 7e5db70953debbda4600a94da29dfc971d426b69 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | eda553f43217ac873a771fd2bd538dfe5faae5e6 (diff) |
ALSA: usb: Only get AudioControl header for UAC1 class.
The control header needs to be read from buffer at this point only
in the case of UAC1 protocol. Move it inside the switch case as other
protocols such as the Basic Audio Device spec will have an empty buffer
that is latter filled as inferred.
Signed-off-by: Jorge Sanjuan <[email protected]>
[Ruslan: updated with recently added sanity checks]
Signed-off-by: Ruslan Bilovol <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions