From: Dmitry Torokhov Date: Sat, 24 Aug 2024 05:50:42 +0000 (-0700) Subject: Input: zforce_ts - switch to using asynchronous probing X-Git-Tag: v6.12-rc1~65^2~2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4172a64ef2c4c519a67037fc4edc78277f786fee;p=thirdparty%2Fkernel%2Flinux.git Input: zforce_ts - switch to using asynchronous probing The driver waits for the device to boot, which can be a lengthy process. Switch it to asynchronous probing to allow more devices to be probed simultaneously. Tested-by: Andreas Kemnade # Tolino Shine2HD Link: https://lore.kernel.org/r/20240824055047.1706392-19-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 5df4f9e8fb2ed..4b8c4ebfff96d 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c @@ -850,6 +850,7 @@ static struct i2c_driver zforce_driver = { .name = "zforce-ts", .pm = pm_sleep_ptr(&zforce_pm_ops), .of_match_table = of_match_ptr(zforce_dt_idtable), + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = zforce_probe, .id_table = zforce_idtable,