]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3002/1: Wrong parameter to uart_update_timeout() in drivers/serial/pxa.c
authorLothar Wassmann <LW@KARO-electronics.de>
Wed, 12 Oct 2005 18:58:11 +0000 (19:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 12 Oct 2005 18:58:11 +0000 (19:58 +0100)
commit19f3c926a783a7c6cdbb1798822dcc1e0d667010
tree1f8da50d47f8d4b5dd27b06fa694fb48e38162bb
parent0b564f1bbb01ba7dca65ff8e83f980b476b7eafa
[ARM] 3002/1: Wrong parameter to uart_update_timeout() in drivers/serial/pxa.c

Patch from Lothar Wassmann

The function serial_pxa_set_termios() is calling uart_update_timeout()
with the baud rate divisor as third parameter, while
uart_update_timeout() expects the baud rate in this place.
This results in a bogus port->timeout which is proportional to the
baud rate.

Signed-off-by: Lothar Wassmann <LW@KARO-electronics.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/pxa.c