linux/drivers/base/power
Tomeu Vizoso 1e54ec8789 BACKPORT: PM / sleep: Go direct_complete if driver has no callbacks
Backport notes: This resolves clk warnings in the designware i2c
driver on HiKey seen during suspend/resume.

Cherrypicked from: aa8e54b559

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 to prevent their ancestors
to do direct_complete if they can support it.

Change-Id: Ia773afb4b266f012336b99fc8cf87453839e078b
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
[jstultz: Backported to 4.4]
Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-07-11 12:43:04 +05:30
..
opp PM / OPP: Initialize u_volt_min/max to a valid value 2016-05-04 14:48:51 -07:00
clock_ops.c ARM: SoC driver updates for v4.4 2015-11-10 15:00:03 -08:00
common.c PM: Convert dev_pm_put_subsys_data() into a void function 2015-02-03 22:59:25 +01:00
domain_governor.c PM / Domains: Validate cases of a non-bound driver in genpd governor 2015-12-02 15:21:21 +01:00
domain.c PM / Domains: Fix removal of a subdomain 2016-05-04 14:48:51 -07:00
generic_ops.c PM / PCI / ACPI: Kick devices that might have been reset by firmware 2015-10-14 02:17:34 +02:00
main.c BACKPORT: PM / sleep: Go direct_complete if driver has no callbacks 2016-07-11 12:43:04 +05:30
Makefile PM / OPP: Move opp core to its own directory 2015-09-15 02:03:16 +02:00
power.h BACKPORT: PM / sleep: Go direct_complete if driver has no callbacks 2016-07-11 12:43:04 +05:30
qos.c PM / QoS: Make it possible to expose device latency tolerance to userspace 2015-07-28 08:50:41 +01:00
runtime.c PM / Runtime: Fix error path in pm_runtime_force_resume() 2016-06-07 18:14:34 -07:00
sysfs.c PM / QoS: Make it possible to expose device latency tolerance to userspace 2015-07-28 08:50:41 +01:00
trace.c PM / sleep: add pm-trace support for suspending phase 2015-03-18 15:54:27 +01:00
wakeirq.c PM / wakeirq: check that wake IRQ is valid before accepting it 2015-11-16 23:10:20 +01:00
wakeup.c wakeup: Add the guard condition for len in pm_get_active_wakeup_sources 2016-02-16 13:54:24 -08:00