Thread (2 messages) 2 messages, 2 authors, 2014-10-16

[PATCH] tty: serial: 8250_core: restore the LCR register in set_sleep

From: Sudhir Sreedharan <hidden>
Date: 2014-10-16 10:15:24
Also in: linux-serial, lkml

Hi Kevin,

On Thu, Oct 16, 2014 at 12:51 PM, Kevin Hilman [off-list ref] wrote:
Sudhir Sreedharan [off-list ref] writes:
quoted
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: Sudhir Sreedharan <redacted>
Since this caused regressions in -next last time, could you describe how
this was tested, and on what platforms?
I have tested this on arm64 board((U6_16550A)),PowerPC P5040
board(16550A)), x86-64 (haswell(ST16650V2),  Rangeley(16550A)) board.
This patch will modify only for the 8250 based serial devices.

Test Case : Booting Multiple times, suspend-resume.

Thanks,
Sudhir
Thanks,

Kevin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help