Loading drivers/mmc/host/sdhci-msm.c +3 −1 Original line number Diff line number Diff line Loading @@ -3895,8 +3895,10 @@ static int sdhci_msm_probe(struct platform_device *pdev) goto pltfm_free; } if (ret <= 2) if (ret <= 2) { sdhci_slot[ret-1] = msm_host; host->slot_no = ret; } msm_host->pdata = sdhci_msm_populate_pdata(&pdev->dev, msm_host); Loading drivers/mmc/host/sdhci.c +2 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,8 @@ static void sdhci_dumpregs(struct sdhci_host *host) host->ops->dump_vendor_regs(host); sdhci_dump_state(host); pr_info(DRIVER_NAME ": ===========================================\n"); if (host->slot_no == 1) BUG_ON(1); } /*****************************************************************************\ Loading include/linux/mmc/sdhci.h +2 −0 Original line number Diff line number Diff line Loading @@ -291,6 +291,8 @@ struct sdhci_host { ktime_t reset_wa_t; /* time when the reset workaround is applied */ int reset_wa_cnt; /* total number of times workaround is used */ int slot_no; unsigned long private[0] ____cacheline_aligned; }; #endif /* LINUX_MMC_SDHCI_H */ Loading
drivers/mmc/host/sdhci-msm.c +3 −1 Original line number Diff line number Diff line Loading @@ -3895,8 +3895,10 @@ static int sdhci_msm_probe(struct platform_device *pdev) goto pltfm_free; } if (ret <= 2) if (ret <= 2) { sdhci_slot[ret-1] = msm_host; host->slot_no = ret; } msm_host->pdata = sdhci_msm_populate_pdata(&pdev->dev, msm_host); Loading
drivers/mmc/host/sdhci.c +2 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,8 @@ static void sdhci_dumpregs(struct sdhci_host *host) host->ops->dump_vendor_regs(host); sdhci_dump_state(host); pr_info(DRIVER_NAME ": ===========================================\n"); if (host->slot_no == 1) BUG_ON(1); } /*****************************************************************************\ Loading
include/linux/mmc/sdhci.h +2 −0 Original line number Diff line number Diff line Loading @@ -291,6 +291,8 @@ struct sdhci_host { ktime_t reset_wa_t; /* time when the reset workaround is applied */ int reset_wa_cnt; /* total number of times workaround is used */ int slot_no; unsigned long private[0] ____cacheline_aligned; }; #endif /* LINUX_MMC_SDHCI_H */