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

Commit fcb48b97 authored by Lei wang's avatar Lei wang
Browse files

scsi:ufs: make probe as async probe



Ufs probe use sleep and takes time to finish,
which stalls kernel booting.
So, make ufs probe as asynchronously to improve
the booting time.

Change-Id: Icaf0bd33476a1949a1338a30f4dc2ade52861350
Signed-off-by: default avatarLei wang <leiwan@codeaurora.org>
parent 65cce8ef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2914,6 +2914,7 @@ static struct platform_driver ufs_qcom_pltform = {
		.name	= "ufshcd-qcom",
		.pm	= &ufs_qcom_pm_ops,
		.of_match_table = of_match_ptr(ufs_qcom_of_match),
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
	},
};
module_platform_driver(ufs_qcom_pltform);