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:
parent
8456550a58
commit
e7c5371dd1
1 changed files with 1 additions and 0 deletions
|
@ -4936,6 +4936,7 @@ static struct platform_driver sdhci_msm_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sdhci_msm",
|
.name = "sdhci_msm",
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = sdhci_msm_dt_match,
|
.of_match_table = sdhci_msm_dt_match,
|
||||||
.pm = SDHCI_MSM_PMOPS,
|
.pm = SDHCI_MSM_PMOPS,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue