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
Kirill Smelkov
linux
Commits
c0251be5
Commit
c0251be5
authored
May 07, 2004
by
Benjamin Herrenschmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SUNZILOG]: Fix DCD/CTS change tests, just like in pmac_zilog.
parent
08faf52b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/serial/sunzilog.c
drivers/serial/sunzilog.c
+2
-2
No files found.
drivers/serial/sunzilog.c
View file @
c0251be5
...
...
@@ -457,10 +457,10 @@ static void sunzilog_status_handle(struct uart_sunzilog_port *up,
* But it does not tell us which bit has changed, we have to keep
* track of this ourselves.
*/
if
((
status
&
DCD
)
^
up
->
prev_status
)
if
((
status
^
up
->
prev_status
)
^
DCD
)
uart_handle_dcd_change
(
&
up
->
port
,
(
status
&
DCD
));
if
((
status
&
CTS
)
^
up
->
prev_status
)
if
((
status
^
up
->
prev_status
)
^
CTS
)
uart_handle_cts_change
(
&
up
->
port
,
(
status
&
CTS
));
...
...
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