Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ded515a4 authored by Dan Carpenter's avatar Dan Carpenter Committed by Yoshinori Sato
Browse files

clk: h8300: fix error handling in h8s2678_pll_clk_setup()



The error handling was a bit messy and buggy.  It freed "pll_clock" then
dereferenced it, and then freed it again.  I've re-written it in normal
kernel style.

Fixes: 42ff8e8008c8 ('h8300: clock driver')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
parent 389456b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment