Johan Hovold f164f5d8a7 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 <mchehab+huawei@kernel.org>
Tested-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2021-03-09 09:05:36 +01:00
..
2021-02-10 15:58:04 +01:00
2021-02-25 10:17:31 -08:00
2021-02-08 09:09:27 +01:00
2021-02-22 10:05:12 -08:00
2021-02-25 10:17:31 -08:00
2021-02-22 14:27:07 -08:00
2020-09-16 12:42:10 +02:00
2021-02-22 10:05:12 -08:00
2021-01-11 08:11:26 +01:00