commit | 2467b6745e0ae9c6cdccff24c4cceeb14b1cce3f | [log] [tgz] |
---|---|---|
author | Shawn Lin <shawn.lin@rock-chips.com> | Tue Feb 02 11:37:50 2016 +0800 |
committer | Heiko Stuebner <heiko@sntech.de> | Tue Feb 02 22:09:50 2016 +0100 |
tree | ab6f86071b045950e3272f4a83ffc8aa8207f193 | |
parent | 89aa027e6019d6e631a6c18c877e01f890a1800f [diff] |
clk: rockchip: free memory in error cases when registering clock branches Add free memeory if rockchip_clk_register_branch fails. Fixes: a245fecbb806 ("clk: rockchip: add basic infrastructure...") Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>