summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2013-02-17 01:34:25 +0000
committergonzo <gonzo@FreeBSD.org>2013-02-17 01:34:25 +0000
commitf84b7c4c4093195c81005c6571f2a995bc7480df (patch)
tree639b434a09ceb954f00aecb9dcabc6b2ea8b5aee /sys/dev
parent78b3406ac0017afb1a36a2cc85b62a6ed5d6a2aa (diff)
downloadFreeBSD-src-f84b7c4c4093195c81005c6571f2a995bc7480df.zip
FreeBSD-src-f84b7c4c4093195c81005c6571f2a995bc7480df.tar.gz
Remove accidentally committed debug panic(9) call
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sdhci/sdhci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c
index c89f60f..1044bb6 100644
--- a/sys/dev/sdhci/sdhci.c
+++ b/sys/dev/sdhci/sdhci.c
@@ -1090,12 +1090,8 @@ sdhci_data_irq(struct sdhci_slot *slot, uint32_t intmask)
}
if (intmask & SDHCI_INT_DATA_TIMEOUT)
slot->curcmd->error = MMC_ERR_TIMEOUT;
- else if (intmask & (SDHCI_INT_DATA_CRC | SDHCI_INT_DATA_END_BIT)) {
- if (intmask & SDHCI_INT_DATA_CRC) {
- panic("DATA CRC error\n");
- }
+ else if (intmask & (SDHCI_INT_DATA_CRC | SDHCI_INT_DATA_END_BIT))
slot->curcmd->error = MMC_ERR_BADCRC;
- }
if (slot->curcmd->data == NULL &&
(intmask & (SDHCI_INT_DATA_AVAIL | SDHCI_INT_SPACE_AVAIL |
SDHCI_INT_DMA_END))) {
OpenPOWER on IntegriCloud