]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Input: elants_i2c - enable asynchronous probing
authorDmitry Torokhov <dtor@chromium.org>
Wed, 15 Apr 2015 01:18:34 +0000 (18:18 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 7 Aug 2015 21:55:39 +0000 (14:55 -0700)
It takes a bit of time to go through controller power up sequence and
initialization. To not stall the overall boot progress let's probe the
controller asynchronously, given that userspace is usually prepared for
hot-plugging of input devices and thus does not rely on particular
ordering.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/elants_i2c.c

index 19122652e71b10833905e0e62dd9aab7d17e44ca..6f7155641591b41c7484b700eb43e174232b5797 100644 (file)
@@ -1410,6 +1410,7 @@ static struct i2c_driver elants_i2c_driver = {
                .pm = &elants_i2c_pm_ops,
                .acpi_match_table = ACPI_PTR(elants_acpi_id),
                .of_match_table = of_match_ptr(elants_of_match),
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
        },
 };
 module_i2c_driver(elants_i2c_driver);