From: Park Bumgyu Date: Fri, 23 Feb 2018 04:02:27 +0000 (+0900) Subject: serial: samsung: wait serial FIFO before entering SICD X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b0b4b77221f481788da50e1e9fced276c694142;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git serial: samsung: wait serial FIFO before entering SICD Change-Id: I9580f8897592dca908e95780b39853f87b34d0f1 Signed-off-by: Park Bumgyu --- diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index b8e98d27d4ee..036500aee7aa 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -1551,6 +1551,8 @@ static int s3c24xx_serial_notifier(struct notifier_block *self, if (ourport->rts_control) change_uart_gpio(RTS_PINCTRL, ourport); } + + s3c24xx_serial_fifo_wait(); break; case SICD_EXIT: