diff options
| author | 2016-01-11 17:41:39 -0800 | |
|---|---|---|
| committer | 2016-02-06 22:52:23 -0800 | |
| commit | 74ea66d4ca061a3cd4c0e924e51b60e924644852 (patch) | |
| tree | fc18a04bb41bafecbc85cecfbb50cb43a751a79a /include | |
| parent | tty: xuartps: Cleanup: Reformat if-else (diff) | |
tty: xuartps: Improve sysrq handling
Handling magic sysrq included dropping a lock to avoid a deadlock that
happened when cdns_uart_console_write tried to acquire a lock in the
from the sysrq code path. By making the acquisition of the lock in
cdns_uart_console_write depending on port->sysrq, cdns_uart_handle_rx can be
simplified to simply call uart_handle_sysrq.
Suggested-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
