commit | 8f83f502290e75b927de65b2e26f56c2d4736fac | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Nov 07 10:52:00 2013 +0300 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Mar 11 14:23:18 2014 +0530 |
tree | 660e439a917656637ed040a423ad26e3ea2b0d22 | |
parent | 4de9b3b0442cdb6d604069b47ffe920813ef6710 [diff] |
dmaengine: s3c24xx-dma: make phy->irq signed for error handling There is a bug in s3c24xx_dma_probe() where we do: phy->irq = platform_get_irq(pdev, i); if (phy->irq < 0) { The problem is that "phy->irq" is unsigned so the error handling doesn't work. I have changed it to signed. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>