dev: Fix OnIdle test in DmaReadFifo
authorRohit Kurup <rohit.kurup@arm.com>
Tue, 27 Jun 2017 09:37:46 +0000 (10:37 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 10 Jul 2017 08:31:10 +0000 (08:31 +0000)
commit999c14894fd39367443656bd9dbb61fd8f3c7075
tree50c9a70a07f3d6e7a610e1cca43f0afeb4a7524b
parentfd5b754974dd7b76a0b8798eb206a4c76a311cee
dev: Fix OnIdle test in DmaReadFifo

OnIdle() is never called since DMA active check is completely
opposite to what it should be. old active status should be 'true'
and new active status should be false for OnIdle to be called

Change-Id: I94eca50edbe96113190837c7f6e50a0d061158a6
Reported-by: Rohit Kurup <rohit.kurup@arm.com>
Signed-off-by: Rohit Kurup <rohit.kurup@arm.com>
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/3966
Reviewed-by: Michael LeBeane <Michael.Lebeane@amd.com>
src/dev/dma_device.cc