diff options
author | Geoffrey D. Bennett <g@b4.vu> | 2021-06-22 03:39:31 +0930 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-06-22 21:36:03 +0200 |
commit | d92b91576e3787659917f32d514de8c4d75631b4 (patch) | |
tree | 0355135711ab226d72bb0b458daf8031c8651ac6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 76cb680603d5af2ccb40541b41d690113cf2df1f (diff) |
ALSA: usb-audio: scarlett2: Improve device info lookup
Add the USB device ID to the scarlett2_device_info struct so that the
switch statement which finds the appropriate struct can be replaced
with a loop that looks through an array of pointers to those structs.
Suggested-by: Vladimir Sadovnikov <sadko4u@gmail.com>
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/474c408c29fb280a611e47e49e59ca2fb9810d27.1624294591.git.g@b4.vu
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