diff options
Diffstat (limited to 'hw/dma')
-rw-r--r-- | hw/dma/sifive_pdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/sifive_pdma.c b/hw/dma/sifive_pdma.c index b4fd405..b8ec762 100644 --- a/hw/dma/sifive_pdma.c +++ b/hw/dma/sifive_pdma.c @@ -243,7 +243,7 @@ static void sifive_pdma_write(void *opaque, hwaddr offset, offset &= 0xfff; switch (offset) { case DMA_CONTROL: - claimed = !!s->chan[ch].control & CONTROL_CLAIM; + claimed = !!(s->chan[ch].control & CONTROL_CLAIM); if (!claimed && (value & CONTROL_CLAIM)) { /* reset Next* registers */ |