Re: need to get the interface cycled with autopm_get/_put() to let a device sleep

2015-04-15 Thread Alan Stern
On Wed, 15 Apr 2015, Oliver Neukum wrote: Hi, I found a problem with the close() function of usbhid. It fails to properly suspend device that don't support remote wake-up. The power core does not retry an autosuspend that failed due to a lack of support for remote wake-up. So there

need to get the interface cycled with autopm_get/_put() to let a device sleep

2015-04-15 Thread Oliver Neukum
Hi, I found a problem with the close() function of usbhid. It fails to properly suspend device that don't support remote wake-up. The power core does not retry an autosuspend that failed due to a lack of support for remote wake-up. So there needs to be a _put() if the need for remote wake-up is