Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spec-sw
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
fmc-projects
spec
spec-sw
Commits
c8c33161
There was an error fetching the commit references. Please try again later.
Commit
c8c33161
authored
11 years ago
by
Tomasz Wlostowski
Committed by
Alessandro Rubini
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
kernel/spec-fmc.c: use both GPIO0 and GPIO1 as master IRQ trigger lines
parent
a6b133ef
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/spec-fmc.c
+7
-1
7 additions, 1 deletion
kernel/spec-fmc.c
with
7 additions
and
1 deletion
kernel/spec-fmc.c
+
7
−
1
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
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment