mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
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:
parent
469b43ee1f
commit
7a47fdb142
|
|
@ -739,6 +739,7 @@ static struct i2c_driver gt1x_ts_driver = {
|
|||
#if !defined(CONFIG_FB) && defined(CONFIG_PM)
|
||||
.pm = >1x_ts_pm_ops,
|
||||
#endif
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user