Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-05 Thread Tomeu Vizoso
On 2 October 2015 at 15:42, Rafael J. Wysocki wrote: > On Friday, October 02, 2015 10:40:49 AM Ulf Hansson wrote: >> On 2 October 2015 at 10:10, Tomeu Vizoso wrote: >> > On 2 October 2015 at 09:48, Ulf Hansson wrote: >> >> On 2 October 2015 at 09:14, Tomeu Vizoso >> >> wrote: >> >>> If a

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-05 Thread Tomeu Vizoso
On 2 October 2015 at 15:42, Rafael J. Wysocki wrote: > On Friday, October 02, 2015 10:40:49 AM Ulf Hansson wrote: >> On 2 October 2015 at 10:10, Tomeu Vizoso wrote: >> > On 2 October 2015 at 09:48, Ulf Hansson wrote: >> >>

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Rafael J. Wysocki
On Friday, October 02, 2015 10:40:49 AM Ulf Hansson wrote: > On 2 October 2015 at 10:10, Tomeu Vizoso wrote: > > On 2 October 2015 at 09:48, Ulf Hansson wrote: > >> On 2 October 2015 at 09:14, Tomeu Vizoso > >> wrote: > >>> If a suitable prepare callback cannot be found for a given device and

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Ulf Hansson
On 2 October 2015 at 10:10, Tomeu Vizoso wrote: > On 2 October 2015 at 09:48, Ulf Hansson wrote: >> On 2 October 2015 at 09:14, Tomeu Vizoso wrote: >>> If a suitable prepare callback cannot be found for a given device and >>> its driver has no PM callbacks at all, assume that it can go direct

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Tomeu Vizoso
On 2 October 2015 at 09:48, Ulf Hansson wrote: > On 2 October 2015 at 09:14, Tomeu Vizoso wrote: >> If a suitable prepare callback cannot be found for a given device and >> its driver has no PM callbacks at all, assume that it can go direct to >> complete when the system goes to sleep. >> >> The

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Ulf Hansson
On 2 October 2015 at 09:14, Tomeu Vizoso wrote: > If a suitable prepare callback cannot be found for a given device and > its driver has no PM callbacks at all, assume that it can go direct to > complete when the system goes to sleep. > > The reason for this is that there's lots of devices in a

[PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Tomeu Vizoso
If a suitable prepare callback cannot be found for a given device and its driver has no PM callbacks at all, assume that it can go direct to complete when the system goes to sleep. The reason for this is that there's lots of devices in a system that do no PM at all and there's no reason for them

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Tomeu Vizoso
On 2 October 2015 at 09:48, Ulf Hansson wrote: > On 2 October 2015 at 09:14, Tomeu Vizoso wrote: >> If a suitable prepare callback cannot be found for a given device and >> its driver has no PM callbacks at all, assume that it can go direct to

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Rafael J. Wysocki
On Friday, October 02, 2015 10:40:49 AM Ulf Hansson wrote: > On 2 October 2015 at 10:10, Tomeu Vizoso wrote: > > On 2 October 2015 at 09:48, Ulf Hansson wrote: > >> On 2 October 2015 at 09:14, Tomeu Vizoso > >>

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Ulf Hansson
On 2 October 2015 at 10:10, Tomeu Vizoso wrote: > On 2 October 2015 at 09:48, Ulf Hansson wrote: >> On 2 October 2015 at 09:14, Tomeu Vizoso wrote: >>> If a suitable prepare callback cannot be found for a given

[PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Tomeu Vizoso
If a suitable prepare callback cannot be found for a given device and its driver has no PM callbacks at all, assume that it can go direct to complete when the system goes to sleep. The reason for this is that there's lots of devices in a system that do no PM at all and there's no reason for them

Re: [PATCH v8 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-02 Thread Ulf Hansson
On 2 October 2015 at 09:14, Tomeu Vizoso wrote: > If a suitable prepare callback cannot be found for a given device and > its driver has no PM callbacks at all, assume that it can go direct to > complete when the system goes to sleep. > > The reason for this is that