From: Taekki Kim Date: Tue, 25 Feb 2014 15:57:30 +0000 (+0900) Subject: [RAMEN9610-8149] PM QoS: fix duplicated calling to pm_qos_update_target() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=437d9a00de5ada3ea26a593f3587ac49b59c3a7f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [RAMEN9610-8149] PM QoS: fix duplicated calling to pm_qos_update_target() The pm_qos_update_target() function will be called in __pm_qos_update_request(). So, it's duplicated call. Change-Id: Ifb48c762b23ff3bf452557313cd21c13b17d9d78 Signed-off-by: Taekki Kim --- diff --git a/kernel/power/qos.c b/kernel/power/qos.c index 697a8be7c562..e54a17ee87a9 100644 --- a/kernel/power/qos.c +++ b/kernel/power/qos.c @@ -898,11 +898,6 @@ void pm_qos_update_request(struct pm_qos_request *req, if (delayed_work_pending(&req->work)) cancel_delayed_work_sync(&req->work); - if (new_value != req->node.prio) - pm_qos_update_target( - pm_qos_array[req->pm_qos_class]->constraints, - &req->node, PM_QOS_UPDATE_REQ, new_value); - __pm_qos_update_request(req, new_value); } EXPORT_SYMBOL_GPL(pm_qos_update_request);