diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2018-06-05 22:37:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-03 13:02:28 +0200 |
commit | af0a5646cb8d03f33ef028eff5b92996e53da201 (patch) | |
tree | 26960cc1640ecb7d006d0032e277b0674efa1d55 /drivers/hid/hid-hyperv.c | |
parent | eeprom: idt_89hpesx: remove redundant variable csrval_len (diff) | |
download | linux-af0a5646cb8d03f33ef028eff5b92996e53da201.tar.xz linux-af0a5646cb8d03f33ef028eff5b92996e53da201.zip |
use the new async probing feature for the hyperv drivers
Recent kernels support asynchronous probing; most hyperv drivers
can be probed async easily so set the required flag for this.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-hyperv.c')
-rw-r--r-- | drivers/hid/hid-hyperv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c index 3aa2bb9f0f81..b372854cf38d 100644 --- a/drivers/hid/hid-hyperv.c +++ b/drivers/hid/hid-hyperv.c @@ -598,6 +598,9 @@ static struct hv_driver mousevsc_drv = { .id_table = id_table, .probe = mousevsc_probe, .remove = mousevsc_remove, + .driver = { + .probe_type = PROBE_PREFER_ASYNCHRONOUS, + }, }; static int __init mousevsc_init(void) |