Re: [PATCH] Input: elan_i2c - Reduce the resume time for new devices

2021-02-28 Thread Dmitry Torokhov
Hi Jingle, On Fri, Feb 26, 2021 at 03:35:37PM +0800, jingle.wu wrote: > @@ -273,10 +318,12 @@ static int __elan_initialize(struct elan_tp_data *data) > bool woken_up = false; > int error; > > - error = data->ops->initialize(client); > - if (error) { > -

[PATCH] Input: elan_i2c - Reduce the resume time for new devices

2021-02-25 Thread jingle.wu
Remove elan_initilize() function at resume state, for Voxel, Delbin, Magple, Bobba and new devices. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c.h | 5 +++ drivers/input/mouse/elan_i2c_core.c | 57 +++-- 2 files changed, 58 insertions(+), 4