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

Commit a5edf8e3 authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan Committed by Matt Wagantall
Browse files

mmc: sdhci-msm: increase number of testbuses to 60



Dump out testbus values till 60. This would facilitate
triaging command-queue issues.

Change-Id: Icac865629b21ce0207c46c1907cf25401d6e8339
Signed-off-by: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
parent 4368d948
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2681,7 +2681,7 @@ static void sdhci_msm_set_uhs_signaling(struct sdhci_host *host,

}

#define MAX_TEST_BUS 20
#define MAX_TEST_BUS 60

void sdhci_msm_dump_vendor_regs(struct sdhci_host *host)
{
@@ -2716,7 +2716,7 @@ void sdhci_msm_dump_vendor_regs(struct sdhci_host *host)
	 * to select test bus 14, write 0x1E to CORE_TESTBUS_CONFIG register
	 * i.e., tbsel2[7:4] = 0001, tbsel[2:0] = 110.
	 */
	for (tbsel2 = 0; tbsel2 < 3; tbsel2++) {
	for (tbsel2 = 0; tbsel2 < 7; tbsel2++) {
		for (tbsel = 0; tbsel < 8; tbsel++) {
			if (index >= MAX_TEST_BUS)
				break;