* [PATCH] Input: st1232 - prefer asynchronous probing
@ 2021-10-07 11:12 John Keeping
2021-10-12 1:31 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: John Keeping @ 2021-10-07 11:12 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: John Keeping, Geert Uytterhoeven, Michael Tretter, Andrej Valek,
linux-input, linux-kernel
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>
---
As suggested in [1]
[1] https://lore.kernel.org/all/YV3mNMnWmUsasZ2h@google.com/
drivers/input/touchscreen/st1232.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c
index 6abae665ca71..45017ed94833 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,
},
};
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Input: st1232 - prefer asynchronous probing
2021-10-07 11:12 [PATCH] Input: st1232 - prefer asynchronous probing John Keeping
@ 2021-10-12 1:31 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2021-10-12 1:31 UTC (permalink / raw)
To: John Keeping
Cc: Geert Uytterhoeven, Michael Tretter, Andrej Valek, linux-input,
linux-kernel
On Thu, Oct 07, 2021 at 12:12:16PM +0100, John Keeping wrote:
> 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>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-12 1:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 11:12 [PATCH] Input: st1232 - prefer asynchronous probing John Keeping
2021-10-12 1:31 ` Dmitry Torokhov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.