Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Commits
bc6bcc7e
Commit
bc6bcc7e
authored
Jul 27, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve comment about ONESHOT choice
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
c8f09936
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
spec-irq.c
kernel/spec-irq.c
+5
-4
No files found.
kernel/spec-irq.c
View file @
bc6bcc7e
...
...
@@ -336,12 +336,13 @@ static irqreturn_t spec_irq_handler(int irq, void *arg)
return
spec_irq_sw_handler
(
irq
,
spec
);
/*
* Do not listen to new interrupts while handling the current GPIO.
* Do not listen to new interrupts while handling the current GPIO
s
.
* This may take a while since the chain behind each GPIO can be long.
* If the IRQ behind is level, we do not want this IRQ handeler to be
* called continuously.
* Just to play safe, let's disable interrupts. Within the thread we will
* re-enable them when we are ready.
* called continuously. But on the other hand we do not want other
* devices sharing the same IRQ to wait for us; just to play safe,
* let's disable interrupts. Within the thread we will re-enable them
* when we are ready (like IRQF_ONESHOT).
*/
gennum_mask_val
(
spec
,
GNINT_STAT_GPIO
,
0
,
GNINT_CFG
(
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