]> git.baikalelectronics.ru Git - kernel.git/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>
Fri, 17 May 2013 00:32:21 +0000 (17:32 -0700)
commit3d9dec0d36f2593aeb8d65ec52e157df760005c6
tree9cc67b83f7757647adea0629a3adf94c05865354
parentf1eddbb04397ac799e7678adb1afb397ae5a840e
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