fsldma: check for NO_IRQ in fsl_dma_chan_remove()
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 15 Jan 2009 05:32:58 +0000 (22:32 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 15 Jan 2009 05:32:58 +0000 (22:32 -0700)
commit6782dfe44acedf1e583d84e9e0d4f966d8e9befa
tree508ec1430f22f8b099231b8c8bcd8ef26c940d8b
parentd86be86e9aab221089d72399072511f13fe2a771
fsldma: check for NO_IRQ in fsl_dma_chan_remove()

There's no per-channel IRQ on mpc83xx, so only call free_irq if we have one.

Acked-by: Timur Tabi <timur@freescale.com>
Acked-by: Li Yang <leoli@freescale.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/fsldma.c