]> git.itanic.dy.fi Git - linux-stable/commit
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>
Thu, 13 Jun 2013 17:49:48 +0000 (10:49 -0700)
commit4d316eebd86e7745029e90a40311697a64c0f52c
tree84ffc775e5565f8a40619ee4eb9ced9ac6466a05
parent7ca18671cfdc3bac1212245b28cf3816d1dba74a
USB: serial: add wait_until_sent operation

commit 0693196fe7bbb5e6cafd255dfce91ff6d10bc18f upstream.

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