Re: [PATCH v3 2/2] [media] uvcvideo: Remain runtime-suspended at sleeps

2015-11-09 Thread Laurent Pinchart
Hi Tomeu, On Monday 20 April 2015 09:11:36 Tomeu Vizoso wrote: > On 17 April 2015 at 19:32, Alan Stern wrote: > > On Fri, 17 Apr 2015, Tomeu Vizoso wrote: > >> When the system goes to sleep and afterwards resumes, a significant > >> amount of time is spent suspending

Re: [PATCH v3 2/2] [media] uvcvideo: Remain runtime-suspended at sleeps

2015-04-20 Thread Tomeu Vizoso
On 17 April 2015 at 19:32, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 17 Apr 2015, Tomeu Vizoso wrote: When the system goes to sleep and afterwards resumes, a significant amount of time is spent suspending and resuming devices that were already runtime-suspended. By setting the

Re: [PATCH v3 2/2] [media] uvcvideo: Remain runtime-suspended at sleeps

2015-04-17 Thread Alan Stern
On Fri, 17 Apr 2015, Tomeu Vizoso wrote: When the system goes to sleep and afterwards resumes, a significant amount of time is spent suspending and resuming devices that were already runtime-suspended. By setting the power.force_direct_complete flag, the PM core will ignore the state of

[PATCH v3 2/2] [media] uvcvideo: Remain runtime-suspended at sleeps

2015-04-17 Thread Tomeu Vizoso
When the system goes to sleep and afterwards resumes, a significant amount of time is spent suspending and resuming devices that were already runtime-suspended. By setting the power.force_direct_complete flag, the PM core will ignore the state of descendant devices and the device will be let in