diff options
author | Pradeep Kumar <pgoudagunta@nvidia.com> | 2012-03-28 17:18:55 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:10:22 -0700 |
commit | 7c7674f3407f521de7dac98586f39e6dda8dcf59 (patch) | |
tree | 2fdd3c9992b9dab6a4e950c2acd694b7950b87c9 /drivers/tty | |
parent | feeaca4a9b820fbf2cf3dfd43a7dd2a0e13bd264 (diff) |
tty: serial: core: Fix console resume for PORT_TEGRA
WAR to enable console prints when console service is not started
for port type TEGRA.
Bug 958959
Change-Id: I51e582d16195171f1f8bae9324e2ddece4638281
Signed-off-by: Pradeep Kumar <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/92814
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
Tested-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Rebase-Id: Rcde9f4b18b8d520ba87f9cb3b0e49d8d3e55108c
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/serial_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index f87dbfd32770..28432744c01f 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -2033,7 +2033,8 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport) if (console_suspend_enabled) uart_change_pm(state, UART_PM_STATE_ON); - uport->ops->set_termios(uport, &termios, NULL); + if (uport->type != PORT_TEGRA) + uport->ops->set_termios(uport, &termios, NULL); if (console_suspend_enabled) console_start(uport->cons); } |