Home
last modified time | relevance | path

Searched hist:"49036 fd021ce77764bc8059166f646c9768a1b26" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dxr_serial.cdiff 49036fd021ce77764bc8059166f646c9768a1b26 Mon Apr 12 04:55:49 CDT 2021 Johan Hovold <johan@kernel.org> USB: serial: xr: move pin configuration to probe

There's no need to configure the pins on every open and judging from the
vendor driver and datasheet it can be done before enabling the UART.

Move pin configuration from open() to port probe and make sure to
deassert DTR and RTS after configuring all pins as GPIO.

Signed-off-by: Johan Hovold <johan@kernel.org>