Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0ba2db65
Commit
0ba2db65
authored
Mar 12, 2003
by
Russell King
Committed by
Linus Torvalds
Mar 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Only update the console termios cflag once
parent
5b97704a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/serial/core.c
drivers/serial/core.c
+1
-1
No files found.
drivers/serial/core.c
View file @
0ba2db65
...
...
@@ -1400,7 +1400,7 @@ static void uart_update_termios(struct uart_state *state)
struct
tty_struct
*
tty
=
state
->
info
->
tty
;
struct
uart_port
*
port
=
state
->
port
;
if
(
uart_console
(
port
))
{
if
(
uart_console
(
port
)
&&
port
->
cons
->
cflag
)
{
tty
->
termios
->
c_cflag
=
port
->
cons
->
cflag
;
port
->
cons
->
cflag
=
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment