2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/base/power
Lan Tianyu 7e4d68443a PM / QoS: Resume device before exposing/hiding PM QoS flags
Since dev_pm_qos_add_request(), dev_pm_qos_update_request() and
dev_pm_qos_remove_request() for PM QoS flags should not be invoked
when device in RPM_SUSPENDED, add pm_runtime_get_sync() and pm_runtime_put()
around these functions in dev_pm_qos_expose_flags() and
dev_pm_qos_hide_flags().

[rjw: Modified the subject and changelog to better reflect the code
 changes made.]

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2012-11-10 22:56:19 +01:00
..
clock_ops.c PM: Make dev_pm_get_subsys_data() always return 0 on success 2012-08-08 20:49:33 +02:00
common.c PM: Do not use the syscore flag for runtime PM 2012-09-04 01:36:05 +02:00
domain_governor.c PM / Domains: Fix computation of maximum domain off time 2012-05-11 21:11:44 +02:00
domain.c PM / Domains: Check device PM QoS flags in pm_genpd_poweroff() 2012-10-24 02:08:30 +02:00
generic_ops.c PM / Sleep: Introduce generic callbacks for new device PM phases 2012-01-29 20:38:41 +01:00
main.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
Makefile PM / Domains: Add device stop governor function (v4) 2011-12-01 21:47:40 +01:00
opp.c PM / OPP: Initialize OPP table from device tree 2012-09-09 22:06:33 +02:00
power.h PM / QoS: Make it possible to expose PM QoS device flags to user space 2012-10-24 02:08:18 +02:00
qos.c PM / QoS: Resume device before exposing/hiding PM QoS flags 2012-11-10 22:56:19 +01:00
runtime.c PM / Runtime: let rpm_resume() succeed if RPM_ACTIVE, even when disabled, v2 2012-09-22 21:15:08 +02:00
sysfs.c PM / QoS: Make it possible to expose PM QoS device flags to user space 2012-10-24 02:08:18 +02:00
trace.c drivers/base: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:38 -04:00
wakeup.c PM / wakeup: Use irqsave/irqrestore for events_lock 2012-09-06 23:19:06 +02:00