summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-07-30 15:21:56 +0300
committerJohan Hovold <johan@kernel.org>2021-07-30 18:11:41 +0300
commit1e9faef4d26de33bd6b5018695996e7394119e5b (patch)
tree5b957e9bd7cee4fb9b7347e856299a10de45f1e9 /tools/perf/scripts/python/export-to-sqlite.py
parent3c18e9baee0ef97510dcda78c82285f52626764b (diff)
downloadlinux-1e9faef4d26de33bd6b5018695996e7394119e5b.tar.xz
USB: serial: pl2303: fix HX type detection
The device release number for HX-type devices is configurable in EEPROM/OTPROM and cannot be used reliably for type detection. Assume all (non-H) devices with bcdUSB 1.1 and unknown bcdDevice to be of HX type while adding a bcdDevice check for HXD and TB (1.1 and 2.0, respectively). Reported-by: Chris <chris@cyber-anlage.de> Fixes: 8a7bf7510d1f ("USB: serial: pl2303: amend and tighten type detection") Cc: stable@vger.kernel.org # 5.13 Link: https://lore.kernel.org/r/20210730122156.718-1-johan@kernel.org Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions