Commit 216744cd authored by Mayank Rana's avatar Mayank Rana
Browse files

msm: serial: Add check for c_cflag with NULL in set_termios



Serial console doesn't work when shell on console functionality
is disable and resuming from system suspend. termios values are
seen with zero when shell on console is not enabled and resuming
uart from suspend which is putting UART controller in abnormal
state. Hence check for c_cflag value in set_termios for NULL,
and doesn't proceed with changing the UART controller register
with wrong values.

Change-Id: I0e049eec6379ba23a02c2831c20d33e28e1b24f1
CRs-Fixed: 356097
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 5d6564ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment