Input: gt1x - 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.

Save about 0.35s on RK1808 EVB.

Change-Id: I5f38ae7dd9cbebeff02a5e522f29e131d21473ba
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2019-09-17 15:34:50 +08:00
parent 469b43ee1f
commit 7a47fdb142

View File

@@ -739,6 +739,7 @@ static struct i2c_driver gt1x_ts_driver = {
#if !defined(CONFIG_FB) && defined(CONFIG_PM)
.pm = &gt1x_ts_pm_ops,
#endif
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
},
};