diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2013-06-03 17:17:45 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-06-03 17:17:45 +0100 |
commit | 1d32c26f28d6e25f447b8ba40440c7d228ed4006 (patch) | |
tree | 68417fe76820d930e271d591b9ee2d4d889a3259 /gdbstub.c | |
parent | 677ff2ae660b3a55f936a8836513cbab185f6e4f (diff) | |
download | qemu-1d32c26f28d6e25f447b8ba40440c7d228ed4006.zip qemu-1d32c26f28d6e25f447b8ba40440c7d228ed4006.tar.gz qemu-1d32c26f28d6e25f447b8ba40440c7d228ed4006.tar.bz2 |
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 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions