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

Commit 35807de7 authored by Shawn Lin's avatar Shawn Lin Committed by Sasha Levin
Browse files

clk: rockchip: free memory in error cases when registering clock branches



[ Upstream commit 2467b6745e0ae9c6cdccff24c4cceeb14b1cce3f ]

Add free memeory if rockchip_clk_register_branch fails.

Fixes: a245fecb ("clk: rockchip: add basic infrastructure...")
Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 8810dfe3
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