summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-img-spfi.c
diff options
context:
space:
mode:
authorQipan Li <Qipan.Li@csr.com>2015-05-26 12:35:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-01 00:51:37 +0300
commit326707ed88028283cf04d86848a0436cb966b01e (patch)
treeec04b40bc8df095fb0009be9ce98e7a8ea6ecfb3 /drivers/spi/spi-img-spfi.c
parentba02406e9bee5726a604a4c8628aac56cb076fef (diff)
downloadlinux-326707ed88028283cf04d86848a0436cb966b01e.tar.xz
serial: sirf: fix system hung on console log output
A corner case exists in the current driver. if an app opens the console device, and before writing to console device, and there are huge kernel ogs to print out, system will hang on sirfsoc_uart_console_putchar: while (rd_regl(port, ureg->sirfsoc_tx_fifo_status) & ufifo_st->ff_full(port->line)) cpu_relax(); as in sirfsoc_uart_startup(), the driver assigns tx_fifo_op to 0 will stop TX FIFO, this loop will be endless. 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>
Diffstat (limited to 'drivers/spi/spi-img-spfi.c')
0 files changed, 0 insertions, 0 deletions