dmaengine: at_xdmac: fix to pass correct device identity to free_irq()
authorWei Yongjun <weiyj.lk@gmail.com>
Wed, 10 Aug 2016 03:17:09 +0000 (03:17 +0000)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Aug 2016 06:22:25 +0000 (11:52 +0530)
commit6a8b0c6b18f62a277ffb2139d0c0253fe35d7feb
tree36d9f4f2ac1a62fabbb2fadad1719a6b428caf5d
parent93e11eb1b745ee8dbd4f98f24b542d496c8f1e03
dmaengine: at_xdmac: fix to pass correct device identity to free_irq()

free_irq() expects the same device identity that was passed to
corresponding request_irq(), otherwise the IRQ is not freed.

Fixes: e1f7c9eee707 ("dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver")
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c