Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple PCIe FMC carrier SPEC - Software
Commits
c8c33161
Commit
c8c33161
authored
Feb 14, 2014
by
Tomasz Wlostowski
Committed by
Alessandro Rubini
Feb 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/spec-fmc.c: use both GPIO0 and GPIO1 as master IRQ trigger lines
parent
a6b133ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
spec-fmc.c
kernel/spec-fmc.c
+7
-1
No files found.
kernel/spec-fmc.c
View file @
c8c33161
...
...
@@ -137,6 +137,12 @@ static struct fmc_gpio spec_vic_gpio_cfg[] = {
.
gpio
=
FMC_GPIO_IRQ
(
1
),
.
mode
=
GPIOF_DIR_IN
,
.
irqmode
=
IRQF_TRIGGER_RISING
,
},
{
.
gpio
=
FMC_GPIO_IRQ
(
0
),
.
mode
=
GPIOF_DIR_IN
,
.
irqmode
=
IRQF_TRIGGER_RISING
,
}
};
...
...
@@ -169,7 +175,7 @@ static int spec_irq_request(struct fmc_device *fmc, irq_handler_t handler,
}
else
{
rv
=
spec_shared_irq_request
(
fmc
,
handler
,
name
,
flags
);
pr
intk
(
"Requesting irq '%s' in shared mode (rv %d)
\n
"
,
name
,
pr
_debug
(
"Requesting irq '%s' in shared mode (rv %d)
\n
"
,
name
,
rv
);
}
...
...
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