22 Dec
2016
22 Dec
'16
2:05 p.m.
Make it less ambiguous.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/drivers/dw-dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/drivers/dw-dma.c b/src/drivers/dw-dma.c index ecd152d..9de766b 100644 --- a/src/drivers/dw-dma.c +++ b/src/drivers/dw-dma.c @@ -831,8 +831,8 @@ static void dw_dma_irq_handler(void *data) mask = 0x1 << i;
/* end of a transfer */ - if (status_tfr & mask && - p->chan[i].cb_type & DMA_IRQ_TYPE_LLIST) { + if ((status_tfr & mask) && + (p->chan[i].cb_type & DMA_IRQ_TYPE_LLIST)) {
if (p->chan[i].status == DMA_STATUS_PAUSING) { p->chan[i].status = DMA_STATUS_PAUSED;
--
2.9.3