Skip to content
Commit 49036fd0 authored by Johan Hovold's avatar Johan Hovold
Browse files

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: default avatarJohan Hovold <johan@kernel.org>
parent 5f70fe32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment