diff options
author | Johan Hovold <[email protected]> | 2021-02-26 11:08:26 +0100 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2021-03-09 09:05:36 +0100 |
commit | f164f5d8a70245217bee89b246dc4fcfececa526 (patch) | |
tree | 5d71f759ec396474bf697b7e66de7558870563e0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 42213a0190b535093a604945db05a4225bf43885 (diff) |
USB: serial: xr: fix NULL-deref on disconnect
Claiming the sibling control interface is a bit more involved and
specifically requires adding support to USB-serial core for managing
either interface being unbound first, something which could otherwise
lead to a NULL-pointer dereference.
Similarly, additional infrastructure is also needed to handle suspend
properly.
Since the driver currently isn't actually using the control interface,
we can defer this for now by simply not claiming the control interface.
Fixes: c2d405aa86b4 ("USB: serial: add MaxLinear/Exar USB to Serial driver")
Reported-by: Mauro Carvalho Chehab <[email protected]>
Tested-by: Mauro Carvalho Chehab <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions