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 <taekki.kim@samsung.com>
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);