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

Commit 3d8d9df0 authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Add asynchronous probe support



Add asynchronous probe support so that CNSS2 platform driver is
able to probe in parallel with other device drivers which can
help to reduce kernel boot time.

Change-Id: I740cddafd7e3acfed19416b4183ad2487198a751
CRS-fixed: 2071634
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 6f777b23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ config CNSS

config CNSS_ASYNC
	bool "Enable/disable cnss pci platform driver asynchronous probe"
	depends on CNSS
	depends on CNSS || CNSS2
	---help---
	 If enabled, CNSS PCI platform driver would do asynchronous probe.
	 Using asynchronous probe will allow CNSS PCI platform driver to
+3 −0
Original line number Diff line number Diff line
@@ -2343,6 +2343,9 @@ static struct platform_driver cnss_platform_driver = {
		.name = "cnss2",
		.owner = THIS_MODULE,
		.of_match_table = cnss_of_match_table,
#ifdef CONFIG_CNSS_ASYNC
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
#endif
	},
};