Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2016-01-04 Thread Nish Aravamudan
On Mon, Dec 21, 2015 at 5:26 AM, Mika Westerberg wrote: > Below is what happens to touchpad on Lenovo Yoga 900 during resume from > system sleep: > Reported-by: Nish Aravamudan > Reported-by: Linus Torvalds > Suggested-by: Benjamin Tissoires > Signed-off-by: Mika Westerberg Probably not

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2016-01-04 Thread Nish Aravamudan
On Mon, Dec 21, 2015 at 5:26 AM, Mika Westerberg wrote: > Below is what happens to touchpad on Lenovo Yoga 900 during resume from > system sleep: > Reported-by: Nish Aravamudan > Reported-by: Linus Torvalds

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-30 Thread Jiri Kosina
On Mon, 21 Dec 2015, Mika Westerberg wrote: > When an i2c-hid device is resumed from system sleep the driver resets > the device to be sure it is in known state. The device is expected to > issue an interrupt when reset is complete. [ ... snip ... ] > Prevent sending of feature/output reports

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-30 Thread Jiri Kosina
On Mon, 21 Dec 2015, Mika Westerberg wrote: > When an i2c-hid device is resumed from system sleep the driver resets > the device to be sure it is in known state. The device is expected to > issue an interrupt when reset is complete. [ ... snip ... ] > Prevent sending of feature/output reports

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-27 Thread Linus Torvalds
On Mon, Dec 21, 2015 at 5:26 AM, Mika Westerberg wrote: > > Below is what happens to touchpad on Lenovo Yoga 900 during resume from > system sleep: Ok, since my daughter is home for xmas, I can report that it seems to indeed fix the problem on her Yoga 900 too. Reported-and-tested-by: Linus

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-27 Thread Linus Torvalds
On Mon, Dec 21, 2015 at 5:26 AM, Mika Westerberg wrote: > > Below is what happens to touchpad on Lenovo Yoga 900 during resume from > system sleep: Ok, since my daughter is home for xmas, I can report that it seems to indeed fix the problem on her Yoga 900 too.

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-21 Thread Benjamin Tissoires
On Dec 21 2015 or thereabouts, Mika Westerberg wrote: > When an i2c-hid device is resumed from system sleep the driver resets > the device to be sure it is in known state. The device is expected to > issue an interrupt when reset is complete. > > This reset might take few milliseconds to complete

[PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-21 Thread Mika Westerberg
When an i2c-hid device is resumed from system sleep the driver resets the device to be sure it is in known state. The device is expected to issue an interrupt when reset is complete. This reset might take few milliseconds to complete so if the HID driver on top (hid-rmi) starts to set up the

[PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-21 Thread Mika Westerberg
When an i2c-hid device is resumed from system sleep the driver resets the device to be sure it is in known state. The device is expected to issue an interrupt when reset is complete. This reset might take few milliseconds to complete so if the HID driver on top (hid-rmi) starts to set up the

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-21 Thread Benjamin Tissoires
On Dec 21 2015 or thereabouts, Mika Westerberg wrote: > When an i2c-hid device is resumed from system sleep the driver resets > the device to be sure it is in known state. The device is expected to > issue an interrupt when reset is complete. > > This reset might take few milliseconds to complete