summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/ints-priority.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-10 21:42:59 +0100
committerMike Frysinger <vapier@gentoo.org>2011-01-10 13:18:26 +0100
commitb66acb63f5593ac11e39ab1cf17e1f987bc5ff9c (patch)
treec774a4d5b6835c5de6e3dac82d75206ba5b96128 /arch/blackfin/mach-common/ints-priority.c
parentBlackfin: sram_free_with_lsl: do not ignore return value of sram_free (diff)
downloadlinux-b66acb63f5593ac11e39ab1cf17e1f987bc5ff9c.tar.xz
linux-b66acb63f5593ac11e39ab1cf17e1f987bc5ff9c.zip
Blackfin: bf54x: don't ack GPIO ints when unmasking them
When unmasking a GPIO interrupt on a BF54x part, the code will implicitly ack any pending interrupts. This is not what unmasking should do and can cause people to miss interrupts from their devices, so punt the code. Reported-by: Rutger Hofman <rutger@cs.vu.nl> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common/ints-priority.c')
-rw-r--r--arch/blackfin/mach-common/ints-priority.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index da7e3c63746b..a604f19d8dc3 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -866,7 +866,6 @@ static void bfin_gpio_unmask_irq(unsigned int irq)
u32 pintbit = PINT_BIT(pint_val);
u32 bank = PINT_2_BANK(pint_val);
- pint[bank]->request = pintbit;
pint[bank]->mask_set = pintbit;
}