commit | 49036fd021ce77764bc8059166f646c9768a1b26 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Apr 12 11:55:49 2021 +0200 |
committer | Johan Hovold <johan@kernel.org> | Tue Apr 13 18:36:28 2021 +0200 |
tree | f45aa1b195e323b4529d09a73fb484bd4532e919 | |
parent | 5f70fe320e47de0611150dd4628c86eb9212eb00 [diff] |
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>