diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-01-07 09:29:28 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-02-21 20:51:57 -0800 |
commit | a32e88f2b20259f5fe4f8eed598bbc85dc4879ed (patch) | |
tree | 6b75690e6a02d5acc49a6b11b369afffc2a24994 /drivers/clk/mediatek/clk-mt8188-vdo0.c | |
parent | 03c1c51eba6be49b42816af9db114553131af6c8 (diff) |
clk: mediatek: mt7622-apmixedsys: Fix an error handling path in clk_mt8135_apmixed_probe()
'clk_data' is allocated with mtk_devm_alloc_clk_data(). So calling
mtk_free_clk_data() explicitly in the remove function would lead to a
double-free.
Remove the redundant call.
Fixes: c50e2ea6507b ("clk: mediatek: mt7622-apmixedsys: Add .remove() callback for module build")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/2c553c2a5077757e4f7af0bb895acc43881cf62c.1704616152.git.christophe.jaillet@wanadoo.fr
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt8188-vdo0.c')
0 files changed, 0 insertions, 0 deletions