Commit dafae9c5 authored by Georgi Djakov's avatar Georgi Djakov Committed by Srinivas Kandagatla
Browse files

cpufreq-dt: Add missing rcu_read_lock() for find_device_opp()



The function dev_pm_opp_get_notifier() must be called with held
rcu_read_lock. In order to keep the pointer valid, add rcu_read_lock().

Signed-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
parent b4629f9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment