kernel-fxtec-pro1x/drivers/clk/sprd
Chunyan Zhang c6304d4d74 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: 3e37b00558 ("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>
2019-10-07 18:57:03 +02:00
..
common.c clk: sprd: Don't reference clk_init_data after registration 2019-10-07 18:56:45 +02:00
common.h
composite.c
composite.h
div.c
div.h
gate.c
gate.h
Kconfig
Makefile
mux.c
mux.h
pll.c clk: sprd: add missing kfree 2019-10-07 18:57:03 +02:00
pll.h
sc9860-clk.c