commit | 5e75ea9c67433a065b0e8595ad3c91c7c0ca0d2d | [log] [tgz] |
---|---|---|
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | Thu Sep 05 18:30:09 2019 +0800 |
committer | Stephen Boyd <sboyd@kernel.org> | Tue Sep 17 22:01:02 2019 -0700 |
tree | eeee2f3d17b5a377b866757d923136f63b33aac1 | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b [diff] |
clk: sprd: add missing kfree The number of config registers for different pll clocks probably are not same, so we have to use malloc, and should free the memory before return. Fixes: 3e37b005580b ("clk: sprd: add adjustable pll support") Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Signed-off-by: Chunyan Zhang <zhang.lyra@gmail.com> Link: https://lkml.kernel.org/r/20190905103009.27166-1-zhang.lyra@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>