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
4197b22d
Commit
4197b22d
authored
Dec 08, 2002
by
Pete Zaitcev
Committed by
David S. Miller
Dec 08, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: missing free_irq in sunsu driver.
parent
47e9a962
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/serial/sunsu.c
drivers/serial/sunsu.c
+3
-1
No files found.
drivers/serial/sunsu.c
View file @
4197b22d
...
@@ -696,7 +696,7 @@ static int sunsu_startup(struct uart_port *port)
...
@@ -696,7 +696,7 @@ static int sunsu_startup(struct uart_port *port)
SA_SHIRQ
,
su_typev
[
up
->
su_type
],
up
);
SA_SHIRQ
,
su_typev
[
up
->
su_type
],
up
);
}
}
if
(
retval
)
{
if
(
retval
)
{
printk
(
"su: Cannot register IRQ
\n
"
);
printk
(
"su: Cannot register IRQ
%d
\n
"
,
up
->
irq
);
return
retval
;
return
retval
;
}
}
...
@@ -783,6 +783,8 @@ static void sunsu_shutdown(struct uart_port *port)
...
@@ -783,6 +783,8 @@ static void sunsu_shutdown(struct uart_port *port)
* Read data port to reset things.
* Read data port to reset things.
*/
*/
(
void
)
serial_in
(
up
,
UART_RX
);
(
void
)
serial_in
(
up
,
UART_RX
);
free_irq
(
up
->
irq
,
up
);
}
}
static
void
static
void
...
...
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