Blackfin Serial driver: Fix bug - serial driver in PIO mode cant handle input very...
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 21 Nov 2007 09:00:32 +0000 (17:00 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 21 Nov 2007 09:00:32 +0000 (17:00 +0800)
commit759eb040901af60d8a1a2b59b93805521b156cbb
tree91a18e28643ff6112a7a4f7ee4468487c6b664a7
parentc051489df8b027238ff22d64d4e01ede3ad77dd5
Blackfin Serial driver: Fix bug - serial driver in PIO mode cant handle input very quickly

Output as many bytes as possible in PIO tx handler.
This reduce the number of tx interrupts and shorten the delay to handle
rx interrupt. So, rx overrun disappears.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
drivers/serial/bfin_5xx.c