mmc: sdhci-msm: dump ICE registers also on error
In addition to dumping all the SDCC vendor specific registers,
also dump the ICE registers that helps in debugging crypto
related errors.
Change-Id: I804b0cfd77dec21d45016aafbbb001dafb050241
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 77f7c96..99844ad 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -3474,6 +3474,7 @@
if (host->is_crypto_en) {
sdhci_msm_ice_get_status(host, &sts);
pr_info("%s: ICE status %x\n", mmc_hostname(host->mmc), sts);
+ sdhci_msm_ice_print_regs(host);
}
}