diff --git a/src/dev/dma_device.cc b/src/dev/dma_device.cc index a78819a3e1..f6f751c05e 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(); }