Commit 413f91f2 authored by myfluxi's avatar myfluxi Committed by arnavpuranik
Browse files

PM: devfreq: Use high priority workqueue



It does not make sense to run kgsl on high and devfreq on regular
priority.

Change-Id: Ie5e6c9353a4e1324a6a49278e5ad3638462f551c
Signed-off-by: default avatarflar2 <asegaert@gmail.com>
Signed-off-by: default avatarDusan Uveric <dusan.uveric9@gmail.com>
parent d6a9a8c2
......@@ -1103,7 +1103,9 @@ static int __init devfreq_init(void)
return PTR_ERR(devfreq_class);
}
devfreq_wq = create_freezable_workqueue("devfreq_wq");
devfreq_wq = alloc_workqueue("devfreq_wq",
WQ_HIGHPRI | WQ_UNBOUND | WQ_FREEZABLE |
WQ_MEM_RECLAIM, 0);
if (!devfreq_wq) {
class_destroy(devfreq_class);
pr_err("%s: couldn't create workqueue\n", __FILE__);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment