diff options
Diffstat (limited to 'drivers/tty/serial/sunzilog.c')
| -rw-r--r-- | drivers/tty/serial/sunzilog.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index 27669ff3d44..813ef8eb8ef 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c @@ -388,7 +388,7 @@ sunzilog_receive_chars(struct uart_sunzilog_port *up,  			else if (r1 & CRC_ERR)  				flag = TTY_FRAME;  		} -		if (uart_handle_sysrq_char(&up->port, ch)) +		if (uart_handle_sysrq_char(&up->port, ch) || !port)  			continue;  		if (up->port.ignore_status_mask == 0xff ||  |