diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-10 19:56:04 +1000 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-14 18:57:38 +0530 |
commit | aa570be6de67f3772cc850a7bfbe659214aa9ee4 (patch) | |
tree | 4e718f1b9d20a43cf0d1b8a413508d031bcbd06c /drivers/dma/bestcomm | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) | |
download | linux-aa570be6de67f3772cc850a7bfbe659214aa9ee4.tar.bz2 |
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/bestcomm')
-rw-r--r-- | drivers/dma/bestcomm/bestcomm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/bestcomm/bestcomm.c b/drivers/dma/bestcomm/bestcomm.c index 7ce843723003..7a67b8345092 100644 --- a/drivers/dma/bestcomm/bestcomm.c +++ b/drivers/dma/bestcomm/bestcomm.c @@ -82,7 +82,7 @@ bcom_task_alloc(int bd_count, int bd_size, int priv_size) /* Get IRQ of that task */ tsk->irq = irq_of_parse_and_map(bcom_eng->ofnode, tsk->tasknum); - if (tsk->irq == NO_IRQ) + if (!tsk->irq) goto error; /* Init the BDs, if needed */ @@ -104,7 +104,7 @@ bcom_task_alloc(int bd_count, int bd_size, int priv_size) error: if (tsk) { - if (tsk->irq != NO_IRQ) + if (tsk->irq) irq_dispose_mapping(tsk->irq); bcom_sram_free(tsk->bd); kfree(tsk->cookie); |