Blackfin Serial Driver: fix bug - use mod_timer to replace only add_timer.
authorSonic Zhang <sonic.zhang@analog.com>
Thu, 24 Apr 2008 20:36:47 +0000 (04:36 +0800)
committerBryan Wu <cooloney@kernel.org>
Thu, 24 Apr 2008 20:36:47 +0000 (04:36 +0800)
commit0a2784233785226fe5882c8af15118476f89e98e
tree4c7a3fd55bb719822d9fdf703356f1a619ac6560
parent50e2e15afaac59c955f43d78d0a1e53cf8a76370
Blackfin Serial Driver: fix bug - use mod_timer to replace only add_timer.

http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=4045
If adding timer in both timer handler and rx interrupt, a timer may be
added when it is till in the pending list.

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