projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36cf1b5
)
[ARM] msm: irq: fix lockdep issues
author
Arve Hjønnevåg
<arve@android.com>
Sun, 2 Dec 2007 02:05:26 +0000
(18:05 -0800)
committer
Daniel Walker
<dwalker@codeaurora.org>
Wed, 12 May 2010 16:13:56 +0000
(09:13 -0700)
Signed-off-by: Brian Swetland <swetland@google.com>
arch/arm/mach-msm/irq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-msm/irq.c
b/arch/arm/mach-msm/irq.c
index
69ca0dd
..
6c8d5f8
100644
(file)
--- a/
arch/arm/mach-msm/irq.c
+++ b/
arch/arm/mach-msm/irq.c
@@
-101,11
+101,11
@@
static int msm_irq_set_type(unsigned int irq, unsigned int flow_type)
if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) {
writel(readl(treg) | b, treg);
-
set_irq_handler(irq, handle_edge_irq)
;
+
irq_desc[irq].handle_irq = handle_edge_irq
;
}
if (flow_type & (IRQF_TRIGGER_HIGH | IRQF_TRIGGER_LOW)) {
writel(readl(treg) & (~b), treg);
-
set_irq_handler(irq, handle_level_irq)
;
+
irq_desc[irq].handle_irq = handle_level_irq
;
}
return 0;
}