]> err.no Git - linux-2.6/commit
atmel_serial: avoid stopping pdc during transmission
authorMichael Trimarchi <trimarchimichael@yahoo.it>
Wed, 2 Apr 2008 20:04:41 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Apr 2008 22:28:19 +0000 (15:28 -0700)
commitba0657ff0527bab83387e19eb98b423fcc290674
treee7644086f7425033950980bdae8a457ab151503a
parentdd135ebbd2a6b5e07dadb66c4dd033bb69531051
atmel_serial: avoid stopping pdc during transmission

I found a problem related to losing data during pdc transmission in
atmel_serial: connect ttyS1 with ttyS2 using a loopback cable, send 30
byte of packet from one to the other and waiting for 30 byte.  On the
other side just read and echo the data received.

We always call atmel_tx_dma() from the tasklet regardless of what interrupt
triggered it.

Signed-off-by: michael <trimarchi@gandalf.sssup.it>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/atmel_serial.c