From: Dmitry Torokhov Date: Wed, 5 Aug 2015 19:01:30 +0000 (-0700) Subject: Input: elan_i2c - enable asynchronous probing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=71d0f562358c3274e78ef371dfeb71ad5e86cb91;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Input: elan_i2c - enable asynchronous probing 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 --- diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index 0a076d30be8b..67388f42ed9a 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++ b/drivers/input/mouse/elan_i2c_core.c @@ -1185,6 +1185,7 @@ static struct i2c_driver elan_driver = { .pm = &elan_pm_ops, .acpi_match_table = ACPI_PTR(elan_acpi_id), .of_match_table = of_match_ptr(elan_of_match), + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = elan_probe, .id_table = elan_id,