diff options
author | Lan Tianyu <tianyu.lan@intel.com> | 2012-11-07 22:14:08 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-10 16:56:19 -0500 |
commit | 7e4d68443a80574392d1027ff34992ab945934a6 (patch) | |
tree | 3b04de31cf03502a89968aa14db3439ec37f1757 /drivers/pci/pci.c | |
parent | 436ede8942ab43474182c6454f420d71f7bb1163 (diff) |
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>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions