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

Commit 7bd9906a authored by Sahitya Tummala's avatar Sahitya Tummala Committed by xiaonian
Browse files

mmc: sdhci: Enable MMC_CAP_HW_RESET capability



Enable MMC_CAP_HW_RESET capability so that MMC block layer
can reset the hardware during error recovery scenarios.

Change-Id: I6100a3c6c34ee4c965595e422f793b195a758a46
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 7944a375
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1374,7 +1374,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
	/* Set host capabilities */
	msm_host->mmc->caps |= msm_host->pdata->mmc_bus_width;
	msm_host->mmc->caps |= msm_host->pdata->caps;

	msm_host->mmc->caps |= MMC_CAP_HW_RESET;
	msm_host->mmc->caps2 |= msm_host->pdata->caps2;
	msm_host->mmc->caps2 |= MMC_CAP2_PACKED_WR;
	msm_host->mmc->caps2 |= MMC_CAP2_PACKED_WR_CONTROL;