commit | 06f79d57f4f572395082da07d663fef91c9bb891 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Apr 12 11:55:55 2021 +0200 |
committer | Johan Hovold <johan@kernel.org> | Tue Apr 13 18:36:38 2021 +0200 |
tree | 5202ec74cf5e71c407f0ffbeec358d8aa77d9238 | |
parent | 6da99f9de5feb25b01cbe37fdb15f26a2d7d64a9 [diff] |
USB: serial: xr: reset FIFOs on open Reset the transmit and receive FIFOs before enabling the UARTs as part of open() in order to flush any stale data. Note that the XR21V141X needs a type-specific implementation due to its UART Manager registers. Signed-off-by: Johan Hovold <johan@kernel.org>