]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: clk-mt8195-topckgen: Fix error return code in clk_mt8195_topck_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Sun, 9 Oct 2022 02:50:56 +0000 (10:50 +0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 17 Oct 2022 21:07:50 +0000 (14:07 -0700)
commit7cac5389d2e8632744491266288fdea357b67bd2
tree6653081abdca52c249888ea8795e3f433a5f19b0
parent33dc378bb726d9718cae374c9fa1c57856b1d332
clk: mediatek: clk-mt8195-topckgen: Fix error return code in clk_mt8195_topck_probe()

If devm_clk_hw_register_mux() fails in clk_mt8195_topck_probe(), it should return
error code.

Fixes: d90c9163b200 ("clk: mediatek: clk-mt8195-topckgen: Register mfg_ck_fast_ref as generic mux")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20221009025056.35311-1-yangyingliang@huawei.com
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt8195-topckgen.c