Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit edf4edac authored by Sudhir Sreedharan's avatar Sudhir Sreedharan Committed by Greg Kroah-Hartman
Browse files

tty: serial: 8250_core: restore the LCR register in set_sleep



In ST16650V2 based serial uarts, while initalizing the PM state,
LCR registers are being initialized to 0 in serial8250_set_sleep().
If console port is already initialized and being used, this will
throws garbage in the console.

Signed-off-by: default avatarSudhir Sreedharan <ssreedharan@mvista.com>
Reviewed-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Tested-by: default avatarKevin Hilman <khilman@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 513e4385
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment