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
9e234faf
Commit
9e234faf
authored
Dec 06, 2008
by
Stefan Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieee1394: ohci1394: pass error codes from request_irq through
Signed-off-by:
Stefan Richter
<
stefanr@s5r6.in-berlin.de
>
parent
d1069aea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
drivers/ieee1394/ohci1394.c
drivers/ieee1394/ohci1394.c
+7
-5
No files found.
drivers/ieee1394/ohci1394.c
View file @
9e234faf
...
...
@@ -3233,8 +3233,9 @@ static int __devinit ohci1394_pci_probe(struct pci_dev *dev,
* we need to get to that "no event", so enough should be initialized
* by that point.
*/
if
(
request_irq
(
dev
->
irq
,
ohci_irq_handler
,
IRQF_SHARED
,
OHCI1394_DRIVER_NAME
,
ohci
))
{
err
=
request_irq
(
dev
->
irq
,
ohci_irq_handler
,
IRQF_SHARED
,
OHCI1394_DRIVER_NAME
,
ohci
);
if
(
err
)
{
PRINT_G
(
KERN_ERR
,
"Failed to allocate interrupt %d"
,
dev
->
irq
);
goto
err
;
}
...
...
@@ -3423,10 +3424,11 @@ static int ohci1394_pci_resume(struct pci_dev *dev)
reg_write
(
ohci
,
OHCI1394_IntMaskClear
,
0xffffffff
);
mdelay
(
50
);
if
(
request_irq
(
dev
->
irq
,
ohci_irq_handler
,
IRQF_SHARED
,
OHCI1394_DRIVER_NAME
,
ohci
))
{
err
=
request_irq
(
dev
->
irq
,
ohci_irq_handler
,
IRQF_SHARED
,
OHCI1394_DRIVER_NAME
,
ohci
);
if
(
err
)
{
PRINT_G
(
KERN_ERR
,
"Failed to allocate interrupt %d"
,
dev
->
irq
);
return
-
EIO
;
return
err
;
}
ohci_initialize
(
ohci
);
...
...
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