Skip to content
Commit 7642cf06 authored by Radu Pirea's avatar Radu Pirea Committed by Zhantao Tang
Browse files

tty: serial: linflexuart: improve locking in set_termios

commit 3ae3bb0f8a57c6c900baf5cbf11c3226589b8d97 from
https://github.com/nxp-auto-linux/linux



Take the port->lock when set_termios is called, otherwise if characters
are sent while IP is in init mode, the IP will hang in an uncertain state.

Issue: ALB-9101

Signed-off-by: default avatarRadu Pirea <radu-nicolae.pirea@nxp.com>
Signed-off-by: default avatarZhantao Tang <zhantao.tang@windriver.com>
parent ea00a18f
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