jan-willem3/desire_kernel_35 — comment on commit 08d8b2d439d616235142458eabac59d44600db46
File:  line 0
By jan-willem3:

msm: cpufreq: Use INIT_COMPLETION instead of init_completion

INIT_COMPLETION should be used for repeated reset of completion

object after init_completion has been done once. init_completion

reinitalizes the head of the list which could be bad if there are

completion objects already waiting.

Change-Id: I0ccd912109eee59b130e8f2303e354f70ee56150

msm: cpufreq: Create cpufreq workqueue for freq changes

Setting frequencies may take unbounded amount of time, use private
workqueues instead of shared system workqueue.

Ondemand governor may post to the kernel workqueue, holds rwsem and
waits. This may cause msm_cpufreq_target to repost frequency change
request to the kernel workqueue waiting on the same rwsem resulting
in watchdog reset.

Change-Id: I34cf264e5f7f2f6aad2d2d2af3e4449233efd7d6
Signed-off-by: Praveen Chidambaram

Hope this makes it clear.

Signed-off-by: Praveen Chidambaram