summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/clk-mt8195-scp_adsp.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wenst@chromium.org>2022-02-08 15:40:30 +0300
committerStephen Boyd <sboyd@kernel.org>2022-02-17 23:12:24 +0300
commit2d18b7e31aa804dc6c0e43545ae5b028802e6f86 (patch)
tree170f43fb046528ee23eb4995a4ebb761c62b1986 /drivers/clk/mediatek/clk-mt8195-scp_adsp.c
parent3c3ba2ab0226f9a4f4312a5db2dd402ec42392ca (diff)
downloadlinux-2d18b7e31aa804dc6c0e43545ae5b028802e6f86.tar.xz
clk: mediatek: Unregister clks in mtk_clk_simple_probe() error path
Until now the mediatek clk driver library did not have any way to unregister clks, and so all drivers did not do proper cleanup in their error paths. Now that the library does have APIs to unregister clks, use them in the error path of mtk_clk_simple_probe() to do proper cleanup. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Miles Chen <miles.chen@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220208124034.414635-28-wenst@chromium.org Reviewed-by: Chun-Jie Chen <chun-jie.chen@mediatek.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt8195-scp_adsp.c')
0 files changed, 0 insertions, 0 deletions