Merge "cnss2: Add asynchronous probe support"
This commit is contained in:
commit
a7bf109995
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -2318,6 +2318,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
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue