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)
commitdc320815305c5f019672d144f4c4c2710ef7732e
treef0336cf4dcffb605b0e65b3a16e2d3f52bb2f6b8
parent2f3804edf971d2080243d2b4552bfd61ddfbf969
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]