aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/serial/cpm_uart/cpm_uart_core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c
index afaf195b6e04..b5e4478de0e3 100644
--- a/drivers/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/serial/cpm_uart/cpm_uart_core.c
@@ -1325,6 +1325,8 @@ static int __init cpm_uart_console_setup(struct console *co, char *options)
1325 udbg_putc = NULL; 1325 udbg_putc = NULL;
1326#endif 1326#endif
1327 1327
1328 cpm_line_cr_cmd(pinfo, CPM_CR_STOP_TX);
1329
1328 if (IS_SMC(pinfo)) { 1330 if (IS_SMC(pinfo)) {
1329 clrbits8(&pinfo->smcp->smc_smcm, SMCM_RX | SMCM_TX); 1331 clrbits8(&pinfo->smcp->smc_smcm, SMCM_RX | SMCM_TX);
1330 clrbits16(&pinfo->smcp->smc_smcmr, SMCMR_REN | SMCMR_TEN); 1332 clrbits16(&pinfo->smcp->smc_smcmr, SMCMR_REN | SMCMR_TEN);
@@ -1346,6 +1348,7 @@ static int __init cpm_uart_console_setup(struct console *co, char *options)
1346 cpm_uart_init_scc(pinfo); 1348 cpm_uart_init_scc(pinfo);
1347 1349
1348 uart_set_options(port, co, baud, parity, bits, flow); 1350 uart_set_options(port, co, baud, parity, bits, flow);
1351 cpm_line_cr_cmd(pinfo, CPM_CR_RESTART_TX);
1349 1352
1350 return 0; 1353 return 0;
1351} 1354}