From 36bcbe3e3af86e632a1c31419295eaa75809b8fd Mon Sep 17 00:00:00 2001 From: Youngmin Nam Date: Mon, 12 Dec 2016 10:24:50 +0900 Subject: [PATCH] [COMMON] serial: samsung: change the routine for detecting consone UART port Change-Id: I16e951bcf624d98f0117ac891e981682274d53f1 Signed-off-by: Youngmin Nam --- drivers/tty/serial/samsung.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 6393e0118acf..acc080eecb92 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -1476,7 +1476,7 @@ static int s3c24xx_serial_notifier(struct notifier_block *self, case SICD_ENTER: case SICD_AUD_ENTER: list_for_each_entry(ourport, &drvdata_list, node) { - if (uart_console(&ourport->port)) + if (ourport->port.line == CONFIG_S3C_LOWLEVEL_UART_PORT) continue; port = &ourport->port; @@ -1498,7 +1498,7 @@ static int s3c24xx_serial_notifier(struct notifier_block *self, case SICD_EXIT: case SICD_AUD_EXIT: list_for_each_entry(ourport, &drvdata_list, node) { - if (uart_console(&ourport->port)) + if (ourport->port.line == CONFIG_S3C_LOWLEVEL_UART_PORT) continue; port = &ourport->port; -- 2.20.1