Re: [PATCH] PM / sleep: Don't unset parent's direct_complete

2015-03-25 Thread Alan Stern
On Wed, 25 Mar 2015, Alan Stern wrote: > On Wed, 25 Mar 2015, Tomeu Vizoso wrote: > > > If a device isn't going to be fully-suspended because there isn't an > > implementation of the suspend callback, there's no need to make sure > > that its parent is going to be fully-suspended as well. > >

Re: [PATCH] PM / sleep: Don't unset parent's direct_complete

2015-03-25 Thread Alan Stern
On Wed, 25 Mar 2015, Tomeu Vizoso wrote: > If a device isn't going to be fully-suspended because there isn't an > implementation of the suspend callback, there's no need to make sure > that its parent is going to be fully-suspended as well. What do you mean by "fully-suspended"? What if the

[PATCH] PM / sleep: Don't unset parent's direct_complete

2015-03-25 Thread Tomeu Vizoso
If a device isn't going to be fully-suspended because there isn't an implementation of the suspend callback, there's no need to make sure that its parent is going to be fully-suspended as well. Without this change, USB interface devices will always prevent the proper USB device to stay in runtime

[PATCH] PM / sleep: Don't unset parent's direct_complete

2015-03-25 Thread Tomeu Vizoso
If a device isn't going to be fully-suspended because there isn't an implementation of the suspend callback, there's no need to make sure that its parent is going to be fully-suspended as well. Without this change, USB interface devices will always prevent the proper USB device to stay in runtime

Re: [PATCH] PM / sleep: Don't unset parent's direct_complete

2015-03-25 Thread Alan Stern
On Wed, 25 Mar 2015, Tomeu Vizoso wrote: If a device isn't going to be fully-suspended because there isn't an implementation of the suspend callback, there's no need to make sure that its parent is going to be fully-suspended as well. What do you mean by fully-suspended? What if the parent

Re: [PATCH] PM / sleep: Don't unset parent's direct_complete

2015-03-25 Thread Alan Stern
On Wed, 25 Mar 2015, Alan Stern wrote: On Wed, 25 Mar 2015, Tomeu Vizoso wrote: If a device isn't going to be fully-suspended because there isn't an implementation of the suspend callback, there's no need to make sure that its parent is going to be fully-suspended as well. What do you