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

2018-06-05 Thread Ravi Chandra Sadineni
On Tue, Jun 5, 2018 at 2:14 AM, Rafael J. Wysocki wrote: > On Mon, Jun 4, 2018 at 11:53 PM, Dmitry Torokhov > wrote: >> On Fri, Jun 01, 2018 at 06:07:08PM -0700, Ravi Chandra Sadineni wrote: >>> Call pm_wakeup_event on every irq. This should help us in identifying if >>> keyboard was a potential

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

2018-06-05 Thread Ravi Chandra Sadineni
On Tue, Jun 5, 2018 at 2:14 AM, Rafael J. Wysocki wrote: > On Mon, Jun 4, 2018 at 11:53 PM, Dmitry Torokhov > wrote: >> On Fri, Jun 01, 2018 at 06:07:08PM -0700, Ravi Chandra Sadineni wrote: >>> Call pm_wakeup_event on every irq. This should help us in identifying if >>> keyboard was a potential

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

2018-06-05 Thread Rafael J. Wysocki
On Mon, Jun 4, 2018 at 11:53 PM, Dmitry Torokhov wrote: > On Fri, Jun 01, 2018 at 06:07:08PM -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

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

2018-06-05 Thread Rafael J. Wysocki
On Mon, Jun 4, 2018 at 11:53 PM, Dmitry Torokhov wrote: > On Fri, Jun 01, 2018 at 06:07:08PM -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

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

2018-06-04 Thread Dmitry Torokhov
On Fri, Jun 01, 2018 at 06:07:08PM -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 > --- > V2: Increment the wakeup count only when

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

2018-06-04 Thread Dmitry Torokhov
On Fri, Jun 01, 2018 at 06:07:08PM -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 > --- > V2: Increment the wakeup count only when

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

2018-06-01 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 --- V2: Increment the wakeup count only when there is a irq and not when the method is called internally.

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

2018-06-01 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 --- V2: Increment the wakeup count only when there is a irq and not when the method is called internally.