aha/arch/arm/mach-davinci
David Brownell df4aab46a8 davinci: gpio irq enable tweaks
Fix two IRQ triggering bugs affecting GPIO IRQs:

 - Make sure enabling with IRQ_TYPE_NONE ("default, unspecified")
   isn't a NOP ... default to both edges, at least one must work.

 - As noted by Kevin Hilman, setting the irq trigger type for a
   banked gpio interrupt shouldn't enable irqs that are disabled.

Since GPIO IRQs haven't been used much yet, it's not clear these
bugs could have affected anything.  The few current users don't
seem to have been obviously suffering from these issues.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-05-26 07:17:54 -07:00
..
include/mach Merge branch 'fix/asoc' into for-linus 2009-05-15 15:38:26 +02:00
board-dm644x-evm.c [ARM] 5506/1: davinci: DMA_32BIT_MASK --> DMA_BIT_MASK(32) 2009-05-07 14:44:47 +01:00
clock.c davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
clock.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
devices.c davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
dm644x.c davinci: update DM644x support in preparation for more SoCs 2009-04-27 09:50:11 -07:00
dma.c davinci: add EDMA driver 2009-04-27 09:49:42 -07:00
gpio.c davinci: gpio irq enable tweaks 2009-05-26 07:17:54 -07:00
id.c davinci: add arch_ioremap() which uses existing static mappings 2009-04-23 09:31:09 -07:00
io.c davinci: add arch_ioremap() which uses existing static mappings 2009-04-23 09:31:09 -07:00
irq.c davinci: DM355 IRQ Definitions 2009-04-27 09:49:44 -07:00
Kconfig davinci: update DM644x support in preparation for more SoCs 2009-04-27 09:50:11 -07:00
Makefile davinci: update DM644x support in preparation for more SoCs 2009-04-27 09:50:11 -07:00
Makefile.boot [ARM] 4303/3: base kernel support for TI DaVinci 2007-05-11 17:26:55 +01:00
mux.c davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
mux.h davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
psc.c davinci: PSC: Clear bits in MDCTL reg before setting new bits 2009-04-27 09:49:43 -07:00
serial.c davinci: serial: generalize for more SoCs 2009-04-27 09:49:45 -07:00
time.c davinci: timers: use clk_get_rate() 2009-04-27 09:49:36 -07:00
usb.c davinci: add arch_ioremap() which uses existing static mappings 2009-04-23 09:31:09 -07:00