]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 20 Oct 2016 13:07:25 +0000 (08:07 -0500)
commit64bdf2d685e2062f6221a175d476fb22a0e93134
tree085478227b9a8a09da295c523320cdd325865057
parent49a9e92cc9b72eb41726574357f8a87c8e95f58d
dmaengine: at_xdmac: fix to pass correct device identity to free_irq()

BugLink: http://bugs.launchpad.net/bugs/1631468
commit 6a8b0c6b18f62a277ffb2139d0c0253fe35d7feb upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/dma/at_xdmac.c