diff options
| author | Chris Rorvick <[email protected]> | 2015-01-12 12:42:42 -0800 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2015-01-12 22:24:01 +0100 |
| commit | a23a8bff1535ddf2f7b9f358f3eb47973d757c54 (patch) | |
| tree | 64b379b32a3b0f33fca21b8ec1296d6a9873f2ae /tools/perf/scripts/python | |
| parent | c33a20b71daf7e7d0d5746200621867ae44d09e9 (diff) | |
staging: line6: Key off of device type
The driver currently uses the device's idProduct as input to several
switch statements. In some cases this is not sufficiently granular and
the interface number must be taken into account.
Store the device type in `usb_line6' and key off of it instead. New
types can then be added that map to specific interfaces on the device so
that this conditional logic can be flattened out.
Signed-off-by: Chris Rorvick <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions