[PATCH] serial: Add missing call to init UCC UART port timeout

Timur Tabi timur.tabi at gmail.com
Tue Jun 22 03:55:18 EST 2010


On Fri, Jun 18, 2010 at 8:22 AM, Chuck Meade <chuck at theptrgroup.com> wrote:
> From: Chuck Meade <chuck at ThePTRGroup.com>
>
> The UCC UART driver is missing a call to uart_update_timeout().
> Without this call, attempting to close the port after outputting large
> amounts of data (i.e. using tty and uart buffering) results in long
> timeouts before the port will actually be shut down.
>
> For example, cat a large file to a UCC UART port.  With the current
> driver, the port will stay open for 30 seconds after the last byte
> of data is output.  But with this patch, the port is closed as
> expected, just after the data has been output (tx fifos empty).
>
> Signed-off-by: Chuck Meade <chuck at ThePTRGroup.com>

Acked-by: Timur Tabi <timur at freescale.com>

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list