alistair23-linux/arch/arm/plat-omap
Nishanth Menon 76be4a5415 ARM: OMAP2+: DMA: remove requirement of irq for platform-dma driver
we have currently 2 DMA drivers that try to co-exist.
drivers/dma/omap-dma.c which registers it's own IRQ and is device tree
aware and uses arch/arm/plat-omap/dma.c instance created by
arch/arm/mach-omap2/dma.c to maintain channel usage (omap_request_dma).

Currently both try to register interrupts and mach-omap2/plat-omap dma.c
attempts to use the IRQ number registered by hwmod to register it's own
interrupt handler.

Now, there is no reasonable way of static allocating DMA irq in GIC
SPI when we use crossbar. However, since the dma_chan structure is
freed as a result of IRQ not being present due to devm allocation,
maintaining information of channel by platform code fails at a later
point in time when that region of memory is reused.

So, if hwmod does not indicate an IRQ number, then, assume that
dma-engine will take care of the interrupt handling.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2014-07-21 23:32:51 -07:00
..
include/plat ARM: OMAP: dmtimer: raw read and write endian fix 2014-05-08 07:09:54 -07:00
counter_32k.c ARM: OMAP: counter-32k: raw read and write endian fix 2014-05-08 07:09:55 -07:00
debug-leds.c ARM: OMAP: debug-leds: raw read and write endian fix 2014-05-08 07:09:55 -07:00
dma.c ARM: OMAP2+: DMA: remove requirement of irq for platform-dma driver 2014-07-21 23:32:51 -07:00
dmtimer.c ARM: OMAP: dmtimer: raw read and write endian fix 2014-05-08 07:09:54 -07:00
i2c.c ARM: OMAP: Fix i2c cmdline initcall for multiplatform 2013-01-11 11:24:19 -08:00
Kconfig ARM: OMAP3: remove deprecated CONFIG_OMAP_IOMMU_IVA2 2014-03-12 09:48:00 -07:00
Makefile mailbox/omap: move the OMAP mailbox framework to drivers 2013-06-11 11:41:51 -05:00
sram.c ARM: OMAP: SRAM: resolve sparse warnings 2013-01-01 15:42:00 -07:00