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

Commit 795285cd authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: sdhci-msm: Fix mmc card stuck issue for sanitize cmd"

parents b02314f9 e67f5ff0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -5428,6 +5428,13 @@ static int sdhci_msm_probe(struct platform_device *pdev)
		goto vreg_deinit;
	}

	/*
	 * To avoid polling and to avoid this R1b command conversion
	 * to R1 command if the requested busy timeout > host's max
	 * busy timeout in case of sanitize, erase or any R1b command
	 */
	host->mmc->max_busy_timeout = 0;

	msm_host->pltfm_init_done = true;

	pm_runtime_set_active(&pdev->dev);