diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-10-30 20:00:30 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-10-30 20:00:30 +0100 |
commit | f9652875dcd49d400b775aecc8e0bf76e405b70a (patch) | |
tree | d60cd35c7e186c328a3c9df47c8b837a9b78889c /drivers/base/power | |
parent | PM / ACPI: Take device PM QoS flags into account (diff) | |
download | linux-f9652875dcd49d400b775aecc8e0bf76e405b70a.tar.xz linux-f9652875dcd49d400b775aecc8e0bf76e405b70a.zip |
PM / QoS: Fix the return value of dev_pm_qos_update_request()
Commit e39473d (PM / QoS: Make it possible to expose PM QoS device
flags to user space) introduced __dev_pm_qos_update_request() to be
called internally by dev_pm_qos_update_request(), but forgot to make
the latter actually use the return value of the former. Fix this
mistake.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power')
-rw-r--r-- | drivers/base/power/qos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index 167834dcc82a..3a7687ae5a4d 100644 --- a/drivers/base/power/qos.c +++ b/drivers/base/power/qos.c @@ -380,7 +380,7 @@ int dev_pm_qos_update_request(struct dev_pm_qos_request *req, s32 new_value) return -EINVAL; mutex_lock(&dev_pm_qos_mtx); - __dev_pm_qos_update_request(req, new_value); + ret = __dev_pm_qos_update_request(req, new_value); mutex_unlock(&dev_pm_qos_mtx); return ret; |