Sonic Zhang 35ff693579 Blackfin Serial Driver: handle irregular DMA register status in auto start mode
This bug is caused by irregular behavior of DMA register CURR_X_COUNT
and CURR_Y_COUNT when an auto restart uart rx DMA run to last byte in
DMA buffer, trigger the interrupt and stay at this possiton. The status
of current x and y is 0:7 instead of 512:8 or 0:8. The driver doesn't
take care of this case when calculating the position.

URL: http://blackfin.uclinux.org/gf/tracker/5063
Reported-by: Tomasz Motylewski <t.motylewski@bfad.de>

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-11 08:51:04 -07:00
..
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2009-04-06 14:36:26 -07:00
2008-02-03 14:47:38 +02:00
2008-04-30 08:29:47 -07:00
2008-10-16 16:52:06 +02:00
2009-04-07 08:44:05 -07:00
2009-04-08 14:33:38 -07:00
2008-10-20 08:50:24 -07:00
2008-10-20 08:52:36 -07:00
2009-04-06 14:36:32 -07:00