From: Sonic Zhang Date: Thu, 11 Jun 2009 12:42:57 +0000 (+0100) Subject: Blackfin Serial Driver: handle irregular DMA register status in auto start mode X-Git-Tag: v2.6.31-rc1~399^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35ff69357949cfff5c3d8e3038b77146872e3bd3;p=pandora-kernel.git 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 Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed