Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7aa13b7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "mmc: sdhci: Panic after dumping SDHC registers""

parents 3d41d2f9 030b5ce0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3953,10 +3953,8 @@ 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);
+0 −2
Original line number Diff line number Diff line
@@ -166,8 +166,6 @@ 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);
}

/*****************************************************************************\
+0 −2
Original line number Diff line number Diff line
@@ -293,8 +293,6 @@ 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 */