diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-02-05 16:10:16 -0800 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-11 16:46:19 +0000 |
commit | 8c0b254b7efaa7941b3acfe790dd16597b0964b3 (patch) | |
tree | 8e207bb396d9a1b04bda617139bf030c6da45edf /drivers/serial/8250_accent.c | |
parent | ae0a846e411dc0b568e8ccda584896310ee5f369 (diff) | |
download | linux-stable-8c0b254b7efaa7941b3acfe790dd16597b0964b3.tar.gz linux-stable-8c0b254b7efaa7941b3acfe790dd16597b0964b3.tar.bz2 linux-stable-8c0b254b7efaa7941b3acfe790dd16597b0964b3.zip |
[ARM] i.MX serial: fix tx buffer overflows
Fix occasional tx buffer overflows in the i.MX serial driver which came
from the fact that space in the buffer was checked after sending the first
byte. Also, fifosize is 32 bytes, not 8.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de
Acked-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/8250_accent.c')
0 files changed, 0 insertions, 0 deletions