qemu/hw/sd
Peter Crosthwaite 1d32c26f28 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>
2013-06-03 17:17:45 +01:00
..
Makefile.objs hw: move SD/MMC devices to hw/sd/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
milkymist-memcard.c hw: move SD/MMC devices to hw/sd/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
omap_mmc.c hw: move SD/MMC devices to hw/sd/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
pl181.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
pxa2xx_mmci.c hw: move SD/MMC devices to hw/sd/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
sd.c Typo, spelling and grammatical fixes 2013-04-12 14:33:20 +02:00
sdhci.c sd/sdhci:ADMA: fix interrupt 2013-06-03 17:17:45 +01:00
sdhci.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ssi-sd.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00