Skip to content
Commit 0e1d9ca1 authored by Viresh Kumar's avatar Viresh Kumar
Browse files

opp: Call the missing clk_put() on error



Fix the clock reference counting by calling the missing clk_put() in the
error path.

Cc: v5.10 <stable@vger.kernel.org> # v5.10
Fixes: dd461cd9 ("opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER")
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 976509bb
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