diff options
Diffstat (limited to 'drivers/serial/cpm_uart')
-rw-r--r-- | drivers/serial/cpm_uart/cpm_uart_core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c index ced193bf9e1e..b9d1185df20c 100644 --- a/drivers/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/serial/cpm_uart/cpm_uart_core.c | |||
@@ -457,7 +457,11 @@ static void cpm_uart_shutdown(struct uart_port *port) | |||
457 | } | 457 | } |
458 | 458 | ||
459 | /* Shut them really down and reinit buffer descriptors */ | 459 | /* Shut them really down and reinit buffer descriptors */ |
460 | cpm_line_cr_cmd(line, CPM_CR_STOP_TX); | 460 | if (IS_SMC(pinfo)) |
461 | cpm_line_cr_cmd(line, CPM_CR_STOP_TX); | ||
462 | else | ||
463 | cpm_line_cr_cmd(line, CPM_CR_GRA_STOP_TX); | ||
464 | |||
461 | cpm_uart_initbd(pinfo); | 465 | cpm_uart_initbd(pinfo); |
462 | } | 466 | } |
463 | } | 467 | } |