summary refs log tree commit diff stats
path: root/hw/timer
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2013-06-03 17:17:45 +0100
committerPeter Maydell <peter.maydell@linaro.org>2013-06-03 17:17:45 +0100
commit1d32c26f28d6e25f447b8ba40440c7d228ed4006 (patch)
tree68417fe76820d930e271d591b9ee2d4d889a3259 /hw/timer
parent677ff2ae660b3a55f936a8836513cbab185f6e4f (diff)
downloadfocaccia-qemu-1d32c26f28d6e25f447b8ba40440c7d228ed4006.tar.gz
focaccia-qemu-1d32c26f28d6e25f447b8ba40440c7d228ed4006.zip
sd/sdhci:ADMA: fix interrupt
The end of transfer check was occurring and potentially returning before
the interrupt flag was checked. This means the interrupt will be missed
if it occurs on the last packet. Fix by checking for the interrupt
before checking for the end of transfer.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Igor Mitsyanko <i.mitsyanko@gmail.com>
Message-id: 9969ec154777957ec738fc4e539d68e7494d0081.1369370934.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions