dmaengine: imx-sdma: Return a proper error code in platform_get_irq()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 29 Dec 2014 17:20:53 +0000 (15:20 -0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 13 Jan 2015 18:21:07 +0000 (23:51 +0530)
commit63c72e028a1dd18515c356834d3f9cfce1cd3f51
treedc9a12fdd46d8eda77f562103f7a0e3710713fda
parent7f24e0ee00d052f1710b68bbf6221cc674eb7a9b
dmaengine: imx-sdma: Return a proper error code in platform_get_irq()

There is no need to return a 'fake' value upon platform_get_irq() failure.

Just propagate the real error instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c