summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/st1232.c
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2021-10-12 04:31:40 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-10-12 04:32:56 +0300
commitb415ed4f49b90655659479fa7c5ddaffe88e41b9 (patch)
tree03bd4b842a40bf28d32c089e1e2e9d7dab5dfc00 /drivers/input/touchscreen/st1232.c
parent2667f6b7af99e81958fa97c03bb519fcb09d0055 (diff)
downloadlinux-b415ed4f49b90655659479fa7c5ddaffe88e41b9.tar.xz
Input: st1232 - prefer asynchronous probing
The device may take up to 100ms to become responsive during probe, so prefer asynchronous probing to avoid delaying the rest of the system. Suggested-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: John Keeping <john@metanate.com> Link: https://lore.kernel.org/r/20211007111217.1935858-1-john@metanate.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/st1232.c')
-rw-r--r--drivers/input/touchscreen/st1232.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c
index 9d1dea6996a2..e38ba3e4f183 100644
--- a/drivers/input/touchscreen/st1232.c
+++ b/drivers/input/touchscreen/st1232.c
@@ -389,6 +389,7 @@ static struct i2c_driver st1232_ts_driver = {
.driver = {
.name = ST1232_TS_NAME,
.of_match_table = st1232_ts_dt_ids,
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &st1232_ts_pm_ops,
},
};