Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
730beeee
Commit
730beeee
authored
Jul 01, 2008
by
Jean-Paul Saman
Committed by
Ugo Riboni
Jul 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix deprecated_irq_flag SA_INTERRUPT and do not ignore request_irq return value.
parent
32d3adcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
drivers/media/video/davinci_vpfe.c
drivers/media/video/davinci_vpfe.c
+7
-2
No files found.
drivers/media/video/davinci_vpfe.c
View file @
730beeee
...
...
@@ -1159,6 +1159,7 @@ static struct platform_device _vpfe_device = {
static
int
vpfe_init
(
void
)
{
int
i
=
0
;
int
result
=
0
;
void
*
mem
;
/* allocate memory at initialization time to guarentee availability */
for
(
i
=
0
;
i
<
VPFE_DEFNUM_FBUFS
;
i
++
)
{
...
...
@@ -1199,8 +1200,12 @@ static int vpfe_init(void)
ccdc_reset
();
/* setup interrupt handling */
request_irq
(
IRQ_VDINT0
,
vpfe_isr
,
SA_INTERRUPT
,
"dm644xv4l2"
,
(
void
*
)
&
vpfe_device
);
result
=
request_irq
(
IRQ_VDINT0
,
vpfe_isr
,
IRQF_DISABLED
,
"dm644xv4l2"
,
(
void
*
)
&
vpfe_device
);
if
(
result
<
0
)
{
printk
(
KERN_ERR
"DaVinci v4l2 capture driver: cannot initialize IRQ
\n
"
);
return
result
;
}
printk
(
KERN_INFO
"DaVinci v4l2 capture driver V1.0 loaded
\n
"
);
return
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