Re: [PATCH] serial: 8250_dw: always set baud rate in dw8250_set_termios

2018-07-27 Thread Andy Shevchenko
On Fri, 2018-07-27 at 18:32 +0800, Chen Hu wrote: > dw8250_set_termios() doesn't set baud rate if the arg "old ktermios" > is > NULL. This happens during resume. > Call Trace: > ... > [ 54.928108] dw8250_set_termios+0x162/0x170 > [ 54.928114] serial8250_set_termios+0x17/0x20 > [ 54.928117] ua

[PATCH] serial: 8250_dw: always set baud rate in dw8250_set_termios

2018-07-27 Thread Chen Hu
dw8250_set_termios() doesn't set baud rate if the arg "old ktermios" is NULL. This happens during resume. Call Trace: ... [ 54.928108] dw8250_set_termios+0x162/0x170 [ 54.928114] serial8250_set_termios+0x17/0x20 [ 54.928117] uart_change_speed+0x64/0x160 [ 54.928119] uart_resume_port ... So