diff options
author | 2019-08-15 16:30:39 +0200 | |
---|---|---|
committer | 2019-08-22 10:35:59 +0200 | |
commit | 68e9fde245591d18200f8a9054cac22339437adb (patch) | |
tree | a7396924a68ee140fd9ed417cb2123881e62e168 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: usb-audio: More validations of descriptor units (diff) | |
download | linux-dev-68e9fde245591d18200f8a9054cac22339437adb.tar.xz linux-dev-68e9fde245591d18200f8a9054cac22339437adb.zip |
ALSA: usb-audio: Simplify parse_audio_unit()
Minor code refactoring by combining the UAC version and the type in
the switch-case flow, so that we reduce the indentation and
redundancy. One good bonus is that the duplicated definition of the
same type value (e.g. UAC2_EFFECT_UNIT) can be handled more cleanly.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions