diff options
| author | Geoffrey D. Bennett <[email protected]> | 2021-06-22 03:39:31 +0930 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2021-06-22 21:36:03 +0200 |
| commit | d92b91576e3787659917f32d514de8c4d75631b4 (patch) | |
| tree | 0355135711ab226d72bb0b458daf8031c8651ac6 /tools/perf/scripts/python | |
| 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 <[email protected]>
Signed-off-by: Geoffrey D. Bennett <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions