]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66192755c8422f316d4d187abb21ebbe360f0649
tree4d506202c55e2194a1559237c3e02ea5417a4ab0
parentf19865d44c3588edd11924149384401ca575fbe0
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