mirror of https://github.com/thesofproject/sof.git
dw-dma: Add parenthesis around if statement logic
Make it less ambiguous. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
53a996454e
commit
ae0a203d31
|
@ -831,8 +831,8 @@ static void dw_dma_irq_handler(void *data)
|
||||||
mask = 0x1 << i;
|
mask = 0x1 << i;
|
||||||
|
|
||||||
/* end of a transfer */
|
/* end of a transfer */
|
||||||
if (status_tfr & mask &&
|
if ((status_tfr & mask) &&
|
||||||
p->chan[i].cb_type & DMA_IRQ_TYPE_LLIST) {
|
(p->chan[i].cb_type & DMA_IRQ_TYPE_LLIST)) {
|
||||||
|
|
||||||
if (p->chan[i].status == DMA_STATUS_PAUSING) {
|
if (p->chan[i].status == DMA_STATUS_PAUSING) {
|
||||||
p->chan[i].status = DMA_STATUS_PAUSED;
|
p->chan[i].status = DMA_STATUS_PAUSED;
|
||||||
|
|
Loading…
Reference in New Issue