USB: serial: f81232: drop time-based drain delay
authorJohan Hovold <johan@kernel.org>
Mon, 12 Apr 2021 09:38:12 +0000 (11:38 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 13 Apr 2021 16:19:28 +0000 (18:19 +0200)
commit8674cabe052b9ce23f72abb83058fc1d545e257a
treeafe7deb357be32fdd9f3d8b878832e9fe19c6f12
parentd07082277f55cb395be00c813c62f3c956d1edb6
USB: serial: f81232: drop time-based drain delay

The f81232 driver now waits for the transmit FIFO to drain during close
so there is no need to keep the time-based drain delay, which would add
up to two seconds on every close for low line speeds.

Fixes: 98405f81036d ("USB: serial: f81232: add tx_empty function")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/f81232.c