USB: serial: xr: fix gpio-mode handling
authorJohan Hovold <johan@kernel.org>
Thu, 21 Jan 2021 10:29:20 +0000 (11:29 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 26 Jan 2021 15:16:50 +0000 (16:16 +0100)
commit465d3b3a0d311680d0e42258fd25454433667e9d
treead8c06f6138c34898bd41690b0d2270ea0b6bbd7
parent736c09316c905622c548582a47eaa2c8c542b520
USB: serial: xr: fix gpio-mode handling

Fix the gpio-mode handling so that all the pins are under driver control
(i.e. in gpio mode) when hardware flow control is disabled.

This is specifically needed to be able to control RTS.

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