diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index 167834dcc82a3fed5fb74bfcd7674bbad04aa724..3a7687ae5a4d5c19266dbb507420dde5b1201231 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;