summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-08-21 16:21:41 +0800
committerHuang Shijie <b32955@freescale.com>2012-08-21 16:32:40 +0800
commitaa078a38bc17d5521e6d442dad88c19396c79cf4 (patch)
treef192ac4921c0c9ee5f69f829cd926827f2c040ec /drivers
parent74474dc32f0404004b51b8ec26648856b940cee5 (diff)
ENGR00220884 uart: quit the early uart console as late as possible
If we use the late_initcall(), then there is a time slot between the exit of early uart console and the real console: -->late_initcall(mxc_early_uart_console_disable) ...... -->imx_startup() In this time slot, the clock will be closed, so the log printed during the time slot is buffered, this is why we can not see the NFS's log. Change the late_initcall() to late_initcall_sync() which eliminates the time slot. Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/serial/mxc_uart_early.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/mxc_uart_early.c b/drivers/tty/serial/mxc_uart_early.c
index 4a4518fa67e1..ffa3660b6b1e 100644
--- a/drivers/tty/serial/mxc_uart_early.c
+++ b/drivers/tty/serial/mxc_uart_early.c
@@ -188,4 +188,4 @@ int __init mxc_early_uart_console_disable(void)
}
return 0;
}
-late_initcall(mxc_early_uart_console_disable);
+late_initcall_sync(mxc_early_uart_console_disable);