summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/dma/edma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
index 3e5d4f193005..558b0b4e7536 100644
--- a/drivers/dma/edma.c
+++ b/drivers/dma/edma.c
@@ -726,7 +726,7 @@ static void edma_callback(unsigned ch_num, u16 ch_status, void *data)
edesc = echan->edesc;
/* Pause the channel for non-cyclic */
- if (!edesc || (edesc && !edesc->cyclic))
+ if (!edesc || !edesc->cyclic)
edma_pause(echan->ch_num);
switch (ch_status) {