Re: [PATCH] CHROMIUM: Input: elants_i2c: fixed wake-on-touch issue

2015-12-18 Thread Dmitry Torokhov
Hi James, On Fri, Dec 18, 2015 at 10:48:48AM +0800, james.chen wrote: > From: "james.chen" > > Something wrong in suspend/resume of kernel v3.14 for the function of > wake-on-touch. The function of device_may_wakeup will return true if > the device supports wake-on-touch (for example, kitty and

[PATCH] CHROMIUM: Input: elants_i2c: fixed wake-on-touch issue

2015-12-17 Thread james.chen
From: "james.chen" Something wrong in suspend/resume of kernel v3.14 for the function of wake-on-touch. The function of device_may_wakeup will return true if the device supports wake-on-touch (for example, kitty and buddy). So, modify the code from "if (device_may_wakeup(dev))" to "if (!device_ma