pch_uart: add sysrq support
authorLiang Li <liang.li@windriver.com>
Sat, 19 Jan 2013 09:52:11 +0000 (17:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 00:03:21 +0000 (16:03 -0800)
commit1f9db0921f212ad8fdf4bacfdf23590e64272f90
tree4d506202c55e2194a1559237c3e02ea5417a4ab0
parent384e301e3519599b000c1a2ecd938b533fc15d85
pch_uart: add sysrq support

When send break to the uart port, we always get 'frame error', but we
can not just reset receive fifo in such case, otherwise the sysrq cmd
will not be received correctly.

When we handle sysrq output via pch_console_write, the priv lock has
already been taken so no need to take the lock in pch_console_write.

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c
This page took 0.02429 seconds and 5 git commands to generate.