aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/s3c2440-cpufreq.c
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2022-05-10 17:05:31 +0800
committerViresh Kumar <viresh.kumar@linaro.org>2022-05-10 14:40:56 +0530
commit85f5b3c437c927526ab2c4af962dceec08ae58c6 (patch)
tree906d33216fe6f099cd6c0d58c63d25e492ddf41c /drivers/cpufreq/s3c2440-cpufreq.c
parentcpufreq: mediatek: Add opp notification support (diff)
downloadlinux-dev-85f5b3c437c927526ab2c4af962dceec08ae58c6.tar.xz
linux-dev-85f5b3c437c927526ab2c4af962dceec08ae58c6.zip
cpufreq: mediatek: Fix potential deadlock problem in mtk_cpufreq_set_target
Fix following coccichek error: ./drivers/cpufreq/mediatek-cpufreq.c:199:2-8: preceding lock on line ./drivers/cpufreq/mediatek-cpufreq.c:208:2-8: preceding lock on line mutex_lock is acquired but not released before return. Use 'goto out' to help releasing the mutex_lock. Fixes: c210063b40ac ("cpufreq: mediatek: Add opp notification support") Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/s3c2440-cpufreq.c')
0 files changed, 0 insertions, 0 deletions