[PATCH] clk: imx: Drop unnecessary i.MX50 IIM clock toggling

Krzysztof Kozlowski krzk at kernel.org
Sun Nov 29 18:11:49 PST 2026


On Sun, 29 Nov 2026 19:25:33 +0000, Jiawen Liu wrote:
> During early boot, mx50_clocks_init() prepares and enables the IIM gate
> to print a fixed silicon revision. If IIM gate registration fails,
> imx_check_clocks() logs the error and initialization continues.
> clk_prepare() then dereferences the error pointer. If preparation of a
> valid gate fails, clk_disable_unprepare() still runs and can warn about
> missing enable and prepare references.
> 
> Drop both IIM clock calls. The revision helper only prints its
> arguments, so it can log the fixed revision without the IIM clock.
> 
> Verified by source and diff review,
> checkpatch, and an ARM imx_v6_v7_defconfig build of clk-imx5.o.
> Runtime or hardware reproduction was not performed.
> 
> Fixes: 7a9cc1ad213d ("ARM: imx: add clocking support code for the IMX50 SoC")
> Signed-off-by: Jiawen Liu <liu1298662399 at gmail.com>
> ---
>  drivers/clk/imx/clk-imx5.c | 2 --
>  1 file changed, 2 deletions(-)
> 

You sent multiple independent patches, to multiple independent
subsystems. The amount of these patches clearly suggest this was
AI generated and most likely not tested.

More importantly, you sent all this work without properly organizing
relevant patches into patchsets. This makes reviewing difficult
and might cause multiple reviewers to address the same issue.
Replying to the entire set is impossible and requires handling each
patch independently, instead of applying or discarding the set.
Maintainers also won't see the bigger picture of your work. Quite
worrying.

Please read kernel documentation BEFORE posting more work. It will
explain you how to identify subsystems, how to organize your work per
subsystem (so a patchset grouping multiple patches with a short cover
letter), how to document the issue discovery method and what was
or was not tested.

Best regards,
Krzysztof







More information about the linux-arm-kernel mailing list