Loading drivers/mmc/host/sdhci-msm.c +4 −0 Original line number Diff line number Diff line Loading @@ -1349,6 +1349,8 @@ void sdhci_msm_enter_dbg_mode(struct sdhci_host *host) SDCC_IP_CATALOG)); if (minor < 2 || msm_host->debug_mode_enabled) return; if (!(host->quirks2 & SDHCI_QUIRK2_USE_DBG_FEATURE)) return; /* Enable debug mode */ writel_relaxed(ENABLE_DBG, Loading Loading @@ -1392,6 +1394,8 @@ void sdhci_msm_exit_dbg_mode(struct sdhci_host *host) SDCC_IP_CATALOG)); if (minor < 2 || !msm_host->debug_mode_enabled) return; if (!(host->quirks2 & SDHCI_QUIRK2_USE_DBG_FEATURE)) return; /* Exit debug mode */ writel_relaxed(DISABLE_DBG, Loading drivers/mmc/host/sdhci.h +5 −0 Original line number Diff line number Diff line Loading @@ -548,6 +548,11 @@ struct sdhci_host { */ #define SDHCI_QUIRK2_USE_PIO_FOR_EMMC_TUNING (1 << 29) /* * Use QTI specific SDCC debug feature. */ #define SDHCI_QUIRK2_USE_DBG_FEATURE (1 << 30) int irq; /* Device IRQ */ void __iomem *ioaddr; /* Mapped address */ char *bounce_buffer; /* For packing SDMA reads/writes */ Loading Loading
drivers/mmc/host/sdhci-msm.c +4 −0 Original line number Diff line number Diff line Loading @@ -1349,6 +1349,8 @@ void sdhci_msm_enter_dbg_mode(struct sdhci_host *host) SDCC_IP_CATALOG)); if (minor < 2 || msm_host->debug_mode_enabled) return; if (!(host->quirks2 & SDHCI_QUIRK2_USE_DBG_FEATURE)) return; /* Enable debug mode */ writel_relaxed(ENABLE_DBG, Loading Loading @@ -1392,6 +1394,8 @@ void sdhci_msm_exit_dbg_mode(struct sdhci_host *host) SDCC_IP_CATALOG)); if (minor < 2 || !msm_host->debug_mode_enabled) return; if (!(host->quirks2 & SDHCI_QUIRK2_USE_DBG_FEATURE)) return; /* Exit debug mode */ writel_relaxed(DISABLE_DBG, Loading
drivers/mmc/host/sdhci.h +5 −0 Original line number Diff line number Diff line Loading @@ -548,6 +548,11 @@ struct sdhci_host { */ #define SDHCI_QUIRK2_USE_PIO_FOR_EMMC_TUNING (1 << 29) /* * Use QTI specific SDCC debug feature. */ #define SDHCI_QUIRK2_USE_DBG_FEATURE (1 << 30) int irq; /* Device IRQ */ void __iomem *ioaddr; /* Mapped address */ char *bounce_buffer; /* For packing SDMA reads/writes */ Loading