summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-08-21 16:21:41 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-08-22 10:26:34 +0800
commit96ea801b4ac0cff72fdae3ca9451a631b4c18531 (patch)
tree3aa52bc32f8546ef1ada56d55d1b53ad26775ad9 /drivers
parent650b501225fe690321c4ef41dc89f8b964a596c8 (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);