linux/arch/sh/drivers/dma
Mike Frysinger 800fb3ddee sh: dma: fix request_irq usage
When calling request_irq with IRQF_SHARED, the dev cookie must be set
(i.e. non-NULL), otherwise the code rejects it immediately with -EINVAL.
So restore the logic here where we'd pass a pointer to the name as a
dummy unique val.

Otherwise, booting up on my LANDISK system would fail with:
	DMAC Address Error0 request_irq fail

This was introduced in commit 7f47c7189b.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2012-08-09 13:11:11 +09:00
..
dma-api.c sh: dma: check return value of create_proc_read_entry() 2010-08-04 16:10:28 +09:00
dma-g2.c arch/sh/drivers/dma/{dma-g2,dmabrg}.c: ensure arguments to request_irq and free_irq are compatible 2012-03-15 15:14:43 +09:00
dma-pvr2.c SH: irq: Remove IRQF_DISABLED 2011-10-28 14:39:28 +09:00
dma-sh.c sh: dma: fix request_irq usage 2012-08-09 13:11:11 +09:00
dma-sysfs.c sh: Kill off MAX_DMA_ADDRESS leftovers. 2012-05-19 18:50:09 +09:00
dmabrg.c arch/sh/drivers/dma/{dma-g2,dmabrg}.c: ensure arguments to request_irq and free_irq are compatible 2012-03-15 15:14:43 +09:00
Kconfig sh: Kill off MAX_DMA_ADDRESS leftovers. 2012-05-19 18:50:09 +09:00
Makefile dmaengine: sh: Add Support SuperH DMA Engine driver 2009-09-08 17:56:02 -07:00