mmc: sdhci-msm: make probe as async probe

sdhci probe uses sleep calls, which stalls kernel
booting until sleep completes.
So, make sdhci probe as async probe to unblock
the kernel booting, and the probe is scheduled
asynchronously.

Change-Id: Id2e09547410e7eccda1dd95c180df7737ba187e2
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
This commit is contained in:
Lingutla Chandrasekhar 2016-09-07 15:59:56 +05:30 committed by Gerrit - the friendly Code Review server
parent 8456550a58
commit e7c5371dd1

View file

@ -4936,6 +4936,7 @@ static struct platform_driver sdhci_msm_driver = {
.driver = {
.name = "sdhci_msm",
.owner = THIS_MODULE,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_msm_dt_match,
.pm = SDHCI_MSM_PMOPS,
},