[ARM] i.MX serial: fix tx buffer overflows
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 6 Feb 2007 00:10:16 +0000 (16:10 -0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 11 Feb 2007 16:46:19 +0000 (16:46 +0000)
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>

No differences found