serial: bfin-uart: Don't access tty circular buffer in TX DMA interrupt after it...
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 13 Mar 2012 07:51:55 +0000 (15:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Mar 2012 21:33:39 +0000 (14:33 -0700)
When kernel reboot, tty circular buffer is reset before last TX DMA interrupt is called,
while the buffer tail is updated in TX DMA interrupt handler. So, don't update the buffer
tail if it is reset.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found