[PATCH 6/6] clk: mediatek: mt8192: Implement error handling in probe functions
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Sep 27 03:39:39 PDT 2022
Il 26/09/22 12:25, Chen-Yu Tsai ha scritto:
> This is similar to commit f3e690b00b86 ("clk: mediatek: mt8195:
> Implement error handling in probe functions").
>
> 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 the probe functions for the mt8192 clk drivers
> to do proper cleanup.
>
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
I can't give you my Reviewed-by on this patch only because of the comment
in patch [3/6] - anyway, LGTM.
Regards,
Angelo
More information about the linux-arm-kernel
mailing list