summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJorge Sanjuan <jorge.sanjuan@codethink.co.uk>2018-05-04 04:24:01 +0300
committerTakashi Iwai <tiwai@suse.de>2018-05-04 10:39:27 +0300
commit3763f6186703d9939913996da1c71d8f8ddb035c (patch)
tree7e5db70953debbda4600a94da29dfc971d426b69 /tools/perf/scripts/python/syscall-counts.py
parenteda553f43217ac873a771fd2bd538dfe5faae5e6 (diff)
downloadlinux-3763f6186703d9939913996da1c71d8f8ddb035c.tar.xz
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 <jorge.sanjuan@codethink.co.uk> [Ruslan: updated with recently added sanity checks] Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions