Blackfin Serial Driver: fix missing new lines when under load
authorGraf Yang <graf.yang@analog.com>
Thu, 11 Jun 2009 12:42:17 +0000 (13:42 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:04 +0000 (08:51 -0700)
commitf9d36da9cdc2504cd9bb6034cfaba0673ce2d6df
tree36789122ce363636792d90b809b3bdff20e39876
parent7de7c55bf54dede2bd2262349fc7b558bcc8e413
Blackfin Serial Driver: fix missing new lines when under load

Add a SSYNC() into bfin_serial_dma_tx_chars() to ensure DMA registers are
written with new data otherwise we might miss a byte or two when the
system is under load.  PIO mode is OK though.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/bfin_5xx.c