diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-10 05:56:04 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-14 09:27:38 -0400 |
commit | aa570be6de67f3772cc850a7bfbe659214aa9ee4 (patch) | |
tree | 4e718f1b9d20a43cf0d1b8a413508d031bcbd06c /drivers/dma/mpc512x_dma.c | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
dmaengine: NO_IRQ removal from powerpc-only drivers
We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it
from powerpc-only drivers.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mpc512x_dma.c')
-rw-r--r-- | drivers/dma/mpc512x_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c index fa86592c7ae1..9dd99ba18fce 100644 --- a/drivers/dma/mpc512x_dma.c +++ b/drivers/dma/mpc512x_dma.c | |||
@@ -926,7 +926,7 @@ static int mpc_dma_probe(struct platform_device *op) | |||
926 | } | 926 | } |
927 | 927 | ||
928 | mdma->irq = irq_of_parse_and_map(dn, 0); | 928 | mdma->irq = irq_of_parse_and_map(dn, 0); |
929 | if (mdma->irq == NO_IRQ) { | 929 | if (!mdma->irq) { |
930 | dev_err(dev, "Error mapping IRQ!\n"); | 930 | dev_err(dev, "Error mapping IRQ!\n"); |
931 | retval = -EINVAL; | 931 | retval = -EINVAL; |
932 | goto err; | 932 | goto err; |
@@ -935,7 +935,7 @@ static int mpc_dma_probe(struct platform_device *op) | |||
935 | if (of_device_is_compatible(dn, "fsl,mpc8308-dma")) { | 935 | if (of_device_is_compatible(dn, "fsl,mpc8308-dma")) { |
936 | mdma->is_mpc8308 = 1; | 936 | mdma->is_mpc8308 = 1; |
937 | mdma->irq2 = irq_of_parse_and_map(dn, 1); | 937 | mdma->irq2 = irq_of_parse_and_map(dn, 1); |
938 | if (mdma->irq2 == NO_IRQ) { | 938 | if (!mdma->irq2) { |
939 | dev_err(dev, "Error mapping IRQ!\n"); | 939 | dev_err(dev, "Error mapping IRQ!\n"); |
940 | retval = -EINVAL; | 940 | retval = -EINVAL; |
941 | goto err_dispose1; | 941 | goto err_dispose1; |