[PATCH 0/6] clk: mediatek: More cleanups

Chen-Yu Tsai
2022-09-26T10:47:18Z

Here's some more cleanups for the MedaiTek clk drivers.

Patches 1 and 2 fixes and cleans up some parts that were missed in the
previous clk_hw conversion series.

Patch 3 drops the duplicate registration of the top_early_divs clks for
MT8192. Currently this only contains a fixed divider.

Patch 4 prevents having a duplicate OF clk provider for the topckgen
controller, but removing the previously registered instance.

Patch 5 deduplicates the parent clock lists for MT8192.

Patch 6 adds proper error handling to the clock probe functions for
MT8192.

Please have a look.

Thanks
ChenYu

Chen-Yu Tsai (6):
clk: mediatek: fix unregister function in mtk_clk_register_dividers
cleanup
clk: mediatek: Migrate remaining clk_unregister_*() to
clk_hw_unregister_*()
clk: mediatek: mt8192: Do not re-register top_early_divs in probe
function
clk: mediatek: mt8192: Avoid duplicate OF clk provider for topckgen
clk: mediatek: mt8192: deduplicate parent clock lists
clk: mediatek: mt8192: Implement error handling in probe functions

drivers/clk/mediatek/clk-mt8192-aud.c | 15 +-
drivers/clk/mediatek/clk-mt8192-mm.c | 17 +-
drivers/clk/mediatek/clk-mt8192.c | 296 +++++++++-----------------
drivers/clk/mediatek/clk-mtk.c | 12 +-
4 files changed, 130 insertions(+), 210 deletions(-)

--
2.37.3.998.g577e59143f-goog