mmc: sdhci-msm: Implement reset workaround and enable it.
The SDHCI reset for data is getting stuck on some of sdhci-msm controllers. The SDHCI reset usually waits for any pending transfers on the bus before proceeding with the controller reset. But in the failure cases, the data transfer seems to be stuck on the bus and thus preventing the controller from being reset. The workaround is to force the controller to be reset under such scenarios. This seems to be helping the controller to return back to good state at least for the next commands following the failure. This issue is found on SDCC5 controller of 8916/8939 and 8992 chipsets. Hence, enable the quirk SDHCI_QUIRK2_USE_RESET_WORKAROUND only on those controllers. Change-Id: I8038a20e9d4bc633dc11453108c58f9a890f55e0 Signed-off-by:Sahitya Tummala <stummala@codeaurora.org> Signed-off-by:
Bharat Pawar <bpawar@codeaurora.org>
Loading
Please register or sign in to comment