Re: [PATCH V3] i8042: Increment wakeup_count for the respective port.

2018-06-12 Thread Dmitry Torokhov
On Tue, Jun 05, 2018 at 12:01:24PM -0700, Ravi Chandra Sadineni wrote: > Call pm_wakeup_event on every irq. This should help us in identifying if > keyboard was a potential wake reason for the last resume. > > Signed-off-by: Ravi Chandra Sadineni Applied, thank you. > --- > V3: Remove the unnec

[PATCH V3] i8042: Increment wakeup_count for the respective port.

2018-06-05 Thread Ravi Chandra Sadineni
Call pm_wakeup_event on every irq. This should help us in identifying if keyboard was a potential wake reason for the last resume. Signed-off-by: Ravi Chandra Sadineni --- V3: Remove the unnecessary device_may_wakeup check. V2: Increment the wakeup count only when there is a irq and not when the