1
linux/arch/arm/mach-davinci
Ido Yariv f299bb9527 arm: davinci: Fix low level gpio irq handlers' argument
Commit 7416401 ("arm: davinci: Fix fallout from generic irq chip
conversion") introduced a bug, causing low level interrupt handlers to
get a bogus irq number as an argument. The gpio irq handler falsely
assumes that the handler data is the irq base number and that is no
longer true.

Set the irq handler data to be a pointer to the corresponding gpio
controller. The chained irq handler can then use it to extract both the
irq base number and the gpio registers structure.

Signed-off-by: Ido Yariv <ido@wizery.com>
CC: Thomas Gleixner <tglx@linutronix.de>
[nsekhar@ti.com: renamed "ctl" to "d", simplified indexing logic for chips and
took care of odd bank handling in irq handler]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2011-07-12 14:21:43 +05:30
..
include/mach Merge branch 'davinci-next' of git://gitorious.org/linux-davinci/linux-davinci into devel-stable 2011-05-25 00:11:25 +01:00
aemif.c davinci: aemif: signedness bug in davinci_aemif_setup_timing() 2010-12-10 07:33:51 -08:00
board-da830-evm.c davinci: add spi devices support for da830/omap-l137/am17x evm 2011-03-11 10:48:29 -08:00
board-da850-evm.c davinci: DA850 EVM: kill useless variable 2011-03-11 10:48:29 -08:00
board-dm355-evm.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
board-dm355-leopard.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
board-dm365-evm.c Merge branch 'davinci-next' into davinci-for-linus 2010-10-21 11:21:55 -07:00
board-dm644x-evm.c davinci: DM644x EVM: register MUSB device earlier 2011-03-15 08:17:23 -07:00
board-dm646x-evm.c Merge branch 'davinci-next' into davinci-for-linus 2010-10-21 11:21:55 -07:00
board-mityomapl138.c davinci: mityomapl138: Use auto-probe to determine attached PHY ID 2011-04-25 14:19:31 +05:30
board-neuros-osd2.c Fix common misspellings 2011-03-31 11:26:23 -03:00
board-omapl138-hawk.c davinci: USB1.1 support for Omapl138-Hawkboard 2011-02-28 14:53:28 -08:00
board-sffsdr.c Merge branch 'davinci-next' into davinci-for-linus 2010-10-21 11:21:55 -07:00
board-tnetv107x-evm.c davinci: add spi devices on tnetv107x evm 2011-03-15 08:17:22 -07:00
cdce949.c davinci: misc cleanups from sparse 2010-05-06 15:02:01 -07:00
clock.c davinci: use divide ratio limits from pll_data 2010-12-10 07:33:49 -08:00
clock.h ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
common.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
cp_intc.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
cpufreq.c [CPUFREQ] use dynamic debug instead of custom infrastructure 2011-05-04 11:50:57 -04:00
cpuidle.c davinci: cpuidle: move mapping of DDR2 controller registers out of driver 2010-02-04 13:29:38 -08:00
da830.c davinci: macro rename DA8XX_LPSC0_DMAX to DA8XX_LPSC0_PRUSS. 2011-03-11 10:48:29 -08:00
da850.c DA8xx: kill duplicate #define DA8XX_PLL1_BASE 2011-05-06 12:10:54 +05:30
devices-da8xx.c davinci: make PCM platform devices static 2011-06-08 14:41:37 +05:30
devices-tnetv107x.c davinci: add tnetv107x ssp platform device 2011-03-15 08:17:22 -07:00
devices.c davinci: make PCM platform devices static 2011-06-08 14:41:37 +05:30
dm355.c Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
dm365.c davinci: spi: move event queue parameter to platform data 2011-02-28 14:53:29 -08:00
dm644x.c Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
dm646x.c Merge branch 'davinci-next' into davinci-for-linus 2010-10-21 11:21:55 -07:00
dma.c arm: mach-davinci: check irq2ctlr() result 2010-09-24 07:40:25 -07:00
gpio-tnetv107x.c davinci: tnetv107x: fix register indexing for GPIOs numbers > 31 2011-02-28 14:53:19 -08:00
gpio.c arm: davinci: Fix low level gpio irq handlers' argument 2011-07-12 14:21:43 +05:30
io.c Davinci: iotable based ioremap() interception 2010-05-13 10:05:31 -07:00
irq.c arm: davinci: Use generic irq chip 2011-05-11 22:40:06 +05:30
Kconfig ARM: Davinci: Fix I2C build errors 2011-04-25 14:19:32 +05:30
Makefile davinci: Initial support for Omapl138-Hawkboard 2010-09-24 07:40:32 -07:00
Makefile.boot
mux.c Davinci: pinmux - use ioremap() 2010-05-13 10:05:29 -07:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pm.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00
psc.c davinci: psc: simplify if-statement 2010-12-10 07:33:50 -08:00
serial.c Davinci: serial - conditional reset via pwremu 2010-05-06 15:02:10 -07:00
sleep.S davinci: add power management support 2010-02-04 13:29:55 -08:00
sram.c
time.c Merge branch 'devel-stable' into devel 2011-01-06 22:33:32 +00:00
tnetv107x.c davinci: add tnetv107x ssp platform device 2011-03-15 08:17:22 -07:00
usb.c DA8xx: assign name to MUSB IRQ resource 2010-12-11 12:15:53 +02:00