summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dev/dma_device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/dma_device.cc b/src/dev/dma_device.cc
index a78819a3e..f6f751c05 100644
--- a/src/dev/dma_device.cc
+++ b/src/dev/dma_device.cc
@@ -438,7 +438,7 @@ DmaReadFifo::dmaDone()
handlePending();
resumeFill();
- if (!old_active && isActive())
+ if (old_active && !isActive())
onIdle();
}