qemu-patch-raspberry4/hw/sd
Andrew Baumann 5c1bc9a234 sdhci: Revert "add optional quirk property to disable card insertion/removal interrupts"
This reverts commit 723697551a.

This change was poorly tested on my part. It squelched card insertion
interrupts on reset, but that was not necessary because sdhci_reset()
clears all the registers (via the call to memset), so the subsequent
sdhci_insert_eject_cb() call never sees the card insert interrupt
enabled. However, not calling the insert_eject_cb results in prnsts
remaining 0, when it actually needs to be updated to indicate card
presence and R/O status.

Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Message-id: 1456436130-7048-2-git-send-email-Andrew.Baumann@microsoft.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-02-26 15:09:42 +00:00
..
core.c hw/sd: Add QOM bus which SD cards plug in to 2016-02-18 14:26:33 +00:00
Makefile.objs hw/sd: Add QOM bus which SD cards plug in to 2016-02-18 14:26:33 +00:00
milkymist-memcard.c lm32: Clean up includes 2016-01-29 15:07:22 +00:00
omap_mmc.c arm devices: Clean up includes 2016-01-29 15:07:25 +00:00
pl181.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
pxa2xx_mmci.c hw/sd/pxa2xx_mmci: Add reset function 2016-02-18 14:50:50 +00:00
sd.c hw/sd: use guest error logging rather than fprintf to stderr 2016-02-18 14:50:50 +00:00
sdhci-internal.h sdhci: Split sdhci.h for public and internal device usage 2015-10-29 17:59:27 +00:00
sdhci.c sdhci: Revert "add optional quirk property to disable card insertion/removal interrupts" 2016-02-26 15:09:42 +00:00
ssi-sd.c hw: Clean up includes 2016-01-29 15:07:25 +00:00