[Blackfin] serial driver: Fix bug serial driver in DMA mode spams history to console...
authorSonic Zhang <sonic.zhang@analog.com>
Fri, 21 Dec 2007 09:12:55 +0000 (17:12 +0800)
committerBryan Wu <cooloney@kernel.org>
Fri, 21 Dec 2007 09:12:55 +0000 (17:12 +0800)
commit99ee7b5f3a68324807650f650f2613bbe281627f
treee9f8799f94026ae1be19ff0d5d144acb9fff3409
parent75b780bd99b851682289e7a88763ede5a936edb0
[Blackfin] serial driver: Fix bug serial driver in DMA mode spams history to console on shell restart

http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=2920
Fix by increasing buffer tail immediately before starting tx dma.

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