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
c86845dc
Commit
c86845dc
authored
Nov 28, 2011
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regmap/topic/irq' into regmap-next
parents
cce585ce
d23511f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
drivers/base/regmap/regmap-irq.c
drivers/base/regmap/regmap-irq.c
+6
-1
No files found.
drivers/base/regmap/regmap-irq.c
View file @
c86845dc
...
...
@@ -100,6 +100,7 @@ static irqreturn_t regmap_irq_thread(int irq, void *d)
u8
*
buf8
=
data
->
status_reg_buf
;
u16
*
buf16
=
data
->
status_reg_buf
;
u32
*
buf32
=
data
->
status_reg_buf
;
bool
handled
=
false
;
ret
=
regmap_bulk_read
(
map
,
chip
->
status_base
,
data
->
status_reg_buf
,
chip
->
num_regs
);
...
...
@@ -146,10 +147,14 @@ static irqreturn_t regmap_irq_thread(int irq, void *d)
if
(
data
->
status_buf
[
chip
->
irqs
[
i
].
reg_offset
]
&
chip
->
irqs
[
i
].
mask
)
{
handle_nested_irq
(
data
->
irq_base
+
i
);
handled
=
true
;
}
}
return
IRQ_HANDLED
;
if
(
handled
)
return
IRQ_HANDLED
;
else
return
IRQ_NONE
;
}
/**
...
...
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