diff options
author | 2020-12-28 10:51:04 +0530 | |
---|---|---|
committer | 2020-12-28 10:56:22 +0530 | |
commit | 0e1d9ca1766f5d95fb881f57b6c4a1ffa63d4648 (patch) | |
tree | 66dbf8c4b0bb05eff4f6e35ad009bfc07b75a134 /net/lapb/lapb_timer.c | |
parent | opp: fix memory leak in _allocate_opp_table (diff) | |
download | wireguard-linux-0e1d9ca1766f5d95fb881f57b6c4a1ffa63d4648.tar.xz wireguard-linux-0e1d9ca1766f5d95fb881f57b6c4a1ffa63d4648.zip |
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: dd461cd9183f ("opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions