Re: [PATCH v6 1/2] PM / sleep: Go direct_complete if driver has no callbacks

2015-09-29 Thread Rafael J. Wysocki
On Tuesday, September 29, 2015 05:32:53 PM 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

[PATCH v6 1/2] PM / sleep: Go direct_complete if driver has no callbacks

2015-09-29 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

[PATCH v6 1/2] PM / sleep: Go direct_complete if driver has no callbacks

2015-09-29 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 v6 1/2] PM / sleep: Go direct_complete if driver has no callbacks

2015-09-29 Thread Rafael J. Wysocki
On Tuesday, September 29, 2015 05:32:53 PM 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