]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sirf: fix endless loop bug in uart receive tasklet
authorQipan Li <Qipan.Li@csr.com>
Thu, 14 May 2015 06:45:23 +0000 (06:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 19:50:41 +0000 (12:50 -0700)
commit647b8e9fe6e67ce93fbebaa26891f35bd7b60f63
treee7c0e097d16ac2bd72186c9dc5e1566ef6929f78
parent0042fb4765f62b2e262e355e5c488eff050a02ec
serial: sirf: fix endless loop bug in uart receive tasklet

In special condition, when cpu schedule into rx_tmo_process_tl or
rx_dma_complete_tl and all the receive dma tasks have done, it will
go into endless loop because no dma task cookie status be changed.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.c