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
Kirill Smelkov
linux
Commits
a0b0f5ac
Commit
a0b0f5ac
authored
Mar 24, 2011
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm: gemini: Use proper irq accessor functions
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
eb2d7188
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
arch/arm/mach-gemini/gpio.c
arch/arm/mach-gemini/gpio.c
+2
-4
No files found.
arch/arm/mach-gemini/gpio.c
View file @
a0b0f5ac
...
...
@@ -127,8 +127,8 @@ static int gpio_set_irq_type(struct irq_data *d, unsigned int type)
static
void
gpio_irq_handler
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
{
unsigned
int
port
=
(
unsigned
int
)
irq_desc_get_handler_data
(
desc
);
unsigned
int
gpio_irq_no
,
irq_stat
;
unsigned
int
port
=
(
unsigned
int
)
get_irq_data
(
irq
);
irq_stat
=
__raw_readl
(
GPIO_BASE
(
port
)
+
GPIO_INT_STAT
);
...
...
@@ -138,9 +138,7 @@ static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
if
((
irq_stat
&
1
)
==
0
)
continue
;
BUG_ON
(
!
(
irq_desc
[
gpio_irq_no
].
handle_irq
));
irq_desc
[
gpio_irq_no
].
handle_irq
(
gpio_irq_no
,
&
irq_desc
[
gpio_irq_no
]);
generic_handle_irq
(
gpio_irq_no
);
}
}
...
...
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