Merge "mmc: sdhci-msm: Dump sdhci registers when dumping cqe registers"

This commit is contained in:
qctecmdr 2023-08-11 12:20:47 -07:00 committed by Gerrit - the friendly Code Review server
commit a1927deb7b

View File

@ -3271,6 +3271,13 @@ static void sdhci_msm_set_timeout(struct sdhci_host *host, struct mmc_command *c
host->data_timeout = 22LL * NSEC_PER_SEC;
}
void sdhci_msm_cqe_sdhci_dumpregs(struct mmc_host *mmc)
{
struct sdhci_host *host = mmc_priv(mmc);
sdhci_dumpregs(host);
}
static const struct cqhci_host_ops sdhci_msm_cqhci_ops = {
.enable = sdhci_msm_cqe_enable,
.disable = sdhci_msm_cqe_disable,
@ -3278,6 +3285,7 @@ static const struct cqhci_host_ops sdhci_msm_cqhci_ops = {
#ifdef CONFIG_MMC_CRYPTO
.program_key = sdhci_msm_program_key,
#endif
.dumpregs = sdhci_msm_cqe_sdhci_dumpregs,
};
static int sdhci_msm_cqe_add_host(struct sdhci_host *host,