diff options
| author | Chunyan Zhang <chunyan.zhang@unisoc.com> | 2019-09-05 18:30:09 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-07 18:57:03 +0200 |
| commit | c6304d4d74581579fef72878905950757588ef95 (patch) | |
| tree | b7ac5d2677e7347b13f3049a2f458eedfb7d7b6a /include | |
| parent | 7cd89b8db60c0f8d869290152cedf2f0e2f16a1d (diff) | |
clk: sprd: add missing kfree
[ Upstream commit 5e75ea9c67433a065b0e8595ad3c91c7c0ca0d2d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
