]> git.baikalelectronics.ru Git - kernel.git/commit
cpm_uart: Support uart_wait_until_sent()
authorLaurent Pinchart <laurentp@cse-semaphore.com>
Wed, 2 Jul 2008 08:58:45 +0000 (10:58 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 14 Jul 2008 12:55:38 +0000 (07:55 -0500)
commit8adb05cc90d128feb30b0a3b63c2ac16081a7ea8
treef0336cf4dcffb605b0e65b3a16e2d3f52bb2f6b8
parent9d4069e36d6f62a9d58911db25e031463f0cc7d3
cpm_uart: Support uart_wait_until_sent()

Set port->fifosize to the software FIFO size, and update the port timeout
when the baud rate is modified. SCC ports have an optional 32 byte hardware
FIFO which is currently not taken into account, as there is no documented way
to check when the FIFO becomes empty.

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/serial/cpm_uart/cpm_uart_core.c [changed mode: 0755->0644]