USB: serial: add wait_until_sent operation
authorJohan Hovold <jhovold@gmail.com>
Sun, 5 May 2013 18:32:27 +0000 (20:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2013 00:32:21 +0000 (17:32 -0700)
commit0693196fe7bbb5e6cafd255dfce91ff6d10bc18f
tree9cc67b83f7757647adea0629a3adf94c05865354
parent3b9561e9d9b88eca9d4ed6aab025dec2eeeed501
USB: serial: add wait_until_sent operation

Add wait_until_sent operation which can be used to wait for hardware
buffers to drain.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h