diff options
author | Pradeep Kumar <pgoudagunta@nvidia.com> | 2012-03-28 17:18:55 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-03-30 20:26:30 -0700 |
commit | 58a071d7a8fc4667949559c583cca39759c9f1cf (patch) | |
tree | b87db91cabe6bedecb0b07ff2f858da30a4f0b33 /drivers/tty/serial | |
parent | af21306556d361eb9aabfeb95ca96013ec780143 (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>
Diffstat (limited to 'drivers/tty/serial')
-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 23b1f46c9663..681955ac3284 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -2013,7 +2013,8 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport) if (console_suspend_enabled) uart_change_pm(state, 0); - 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); } |