USB: serial: xr: fix interface leak at disconnect
authorJohan Hovold <johan@kernel.org>
Thu, 21 Jan 2021 10:29:14 +0000 (11:29 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 26 Jan 2021 15:16:40 +0000 (16:16 +0100)
commit54c98d9d7ba48c66d64f72e3d5a7586601705611
tree618bd109401a3fd53882bd4707cbc62f6a4a73ca
parenta38d21488097f9823ebd297d56b24f431ee7acaa
USB: serial: xr: fix interface leak at disconnect

Make sure to release the control interface at disconnect so that the
driver can be unbound without leaking resources (and later rebound).

Fixes: c2d405aa86b4 ("USB: serial: add MaxLinear/Exar USB to Serial driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/xr_serial.c