]> git.baikalelectronics.ru Git - kernel.git/commit
serial/core: Initialize the console pm state
authorSudhir Sreedharan <ssreedharan@mvista.com>
Mon, 22 Sep 2014 06:30:22 +0000 (12:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 01:49:48 +0000 (21:49 -0400)
commitb505d071bd98e207abf97b923da59310b7897926
treee1cbfdd7711b08f77542b2133fdc45400428c775
parent0c39e87acab951b0fc683d7e4b488261330b7e20
serial/core: Initialize the console pm state

For console devices having UART_CAP_SLEEP capability, the uart_pm_state has
to be initialized to UART_PM_STATE_ON. Otherwise the LCR regiser values
are reinitialized when uart_change_pm is called from uart_configure_port.

Signed-off-by: Sudhir Sreedharan <ssreedharan@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c