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

Commit e6d5cb83 authored by Wei Li's avatar Wei Li
Browse files

cnss: add an option to allow driver using asynchronous probe



Add option CONFIG_CNSS_ASYNC to allow CNSS platform driver probe
asynchronously for boot time optimization in auto platform

Change-Id: Id1fcb8991a47ae56098a9bbd6ff570e22d6450d6
Signed-off-by: default avatarWei Li <weili@codeaurora.org>
parent 60d6739b
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -29,6 +29,15 @@ config CNSS_PCI
	 restart framework, power on WLAN chip and registered the WLAN module
	 as a PCIe client device.

config CNSS_ASYNC
	bool "Enable/disable cnss pci platform driver asynchronous probe"
	depends on CNSS_PCI
	---help---
	 If enabled, CNSS PCI platform driver would do asynchronous probe.
	 Using asynchronous probe will allow CNSS PCI platform driver to
	 probe in parallel with other device drivers and will help to
	 reduce kernel boot time.

config CNSS_MAC_BUG
	bool "Enable/disable 0-4K memory initialization for QCA6174"
	depends on CNSS
+3 −0
Original line number Diff line number Diff line
@@ -3135,6 +3135,9 @@ static struct platform_driver cnss_driver = {
		.name = "cnss",
		.owner = THIS_MODULE,
		.of_match_table = cnss_dt_match,
#ifdef CONFIG_CNSS_ASYNC
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
#endif
	},
};