aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw
diff options
context:
space:
mode:
authorAlexander Popov <a13xp0p0v88@gmail.com>2014-04-23 17:53:26 +0400
committerVinod Koul <vinod.koul@intel.com>2014-05-02 22:36:22 +0530
commitbaca66f7960f60a7ed5884acf4eb1a76d868c43c (patch)
tree45f3997cc14ac18aa465ddf5bf179b44b1089f4c /drivers/dma/dw
parentdma: mpc512x: separate 'compatible' values for MPC512x and MPC8308 (diff)
downloadlinux-dev-baca66f7960f60a7ed5884acf4eb1a76d868c43c.tar.xz
linux-dev-baca66f7960f60a7ed5884acf4eb1a76d868c43c.zip
dma: mpc512x: fix freeing resources in mpc_dma_probe() and mpc_dma_remove()
Fix mpc_dma_probe() error path and mpc_dma_remove(): manually free IRQs and dispose IRQ mappings before devm_* takes care of other resources. Moreover replace devm_request_irq() with request_irq() since there is no need to use it because the original code always frees IRQ manually with devm_free_irq(). Replace devm_free_irq() with free_irq() accordingly. Signed-off-by: Alexander Popov <a13xp0p0v88@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw')
0 files changed, 0 insertions, 0 deletions