Merge "cnss2: Add asynchronous probe support"

This commit is contained in:
Linux Build Service Account 2017-10-09 16:00:05 -07:00 committed by Gerrit - the friendly Code Review server
commit a7bf109995
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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
},
};