[CPUFREQ] S5PV210: Lock a mutex while changing the cpu frequency
authorArve Hjønnevåg <arve@android.com>
Fri, 24 Jun 2011 07:04:16 +0000 (16:04 +0900)
committerDave Jones <davej@redhat.com>
Wed, 13 Jul 2011 22:29:58 +0000 (18:29 -0400)
commit5b02b7794b555e299c5e9298c6b223b538888ec8
treeae2abbea1e4fc0ac98a544d058c3d0689b01cef0
parent405e6d6df739a27a267b381213aa9e86c4929543
[CPUFREQ] S5PV210: Lock a mutex while changing the cpu frequency

Without this lock the call to change the frequency for suspend could
switch to a new frequency while another thread was still changing the
cpu voltage.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/s5pv210-cpufreq.c