aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2022-09-11 16:02:10 +0200
committerJohan Hovold <johan@kernel.org>2022-09-15 08:05:54 +0200
commitf353c0d43006a485b999035b7cb387f76bdd7291 (patch)
tree11b7807c51cb259bfdbd220fcfde0acdac9cac45 /tools/perf/scripts/python/export-to-postgresql.py
parent027bf37dbe82bb6ce8aa7845f5c7653a869695cd (diff)
USB: serial: ftdi_sio: tighten device-type detection
Clean up and tighten the device-type detection, which is based on bcdDevice. Don't make assumptions about unknown (future) types (currently assumed to be either FT2232C or FT-X depending on bNumInterfaces) and instead log an error and refuse to bind so that we can add proper support when needed. Note that the bcdDevice values have been provided by FTDI. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions