From: Alexander Popov Date: Wed, 23 Apr 2014 13:53:26 +0000 (+0400) Subject: dma: mpc512x: fix freeing resources in mpc_dma_probe() and mpc_dma_remove() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~69^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baca66f7960f60a7ed5884acf4eb1a76d868c43c;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed