Re: [PATCH v3] HID: i2c-hid: Fix suspend/resume when already runtime suspended

2016-03-09 Thread Jiri Kosina
On Tue, 8 Mar 2016, Dmitry Torokhov wrote: > On ACPI-based systems ACPI power domain code runtime resumes device before > calling suspend method, which ensures that i2c-hid suspend code starts with > device not in low-power state and with interrupts enabled. > > On other systems, especially if de

Re: [PATCH v3] HID: i2c-hid: Fix suspend/resume when already runtime suspended

2016-03-09 Thread Benjamin Tissoires
On Mar 09 2016 or thereabouts, Mika Westerberg wrote: > On Tue, Mar 08, 2016 at 03:03:23PM -0800, Dmitry Torokhov wrote: > > On ACPI-based systems ACPI power domain code runtime resumes device before > > calling suspend method, which ensures that i2c-hid suspend code starts with > > device not in l

Re: [PATCH v3] HID: i2c-hid: Fix suspend/resume when already runtime suspended

2016-03-09 Thread Mika Westerberg
On Tue, Mar 08, 2016 at 03:03:23PM -0800, Dmitry Torokhov wrote: > On ACPI-based systems ACPI power domain code runtime resumes device before > calling suspend method, which ensures that i2c-hid suspend code starts with > device not in low-power state and with interrupts enabled. > > On other syst

Re: [PATCH v3] HID: i2c-hid: Fix suspend/resume when already runtime suspended

2016-03-08 Thread Benson Leung
On Tue, Mar 8, 2016 at 3:03 PM, Dmitry Torokhov wrote: > On ACPI-based systems ACPI power domain code runtime resumes device before > calling suspend method, which ensures that i2c-hid suspend code starts with > device not in low-power state and with interrupts enabled. > > On other systems, espec

[PATCH v3] HID: i2c-hid: Fix suspend/resume when already runtime suspended

2016-03-08 Thread Dmitry Torokhov
On ACPI-based systems ACPI power domain code runtime resumes device before calling suspend method, which ensures that i2c-hid suspend code starts with device not in low-power state and with interrupts enabled. On other systems, especially if device is not a part of any power domain, we may end up