Re: [PATCH] mtd: nand: raw: gpmi: fix clocks when CONFIG_PM=N
From: Miquel Raynal
Date: Mon Sep 29 2025 - 11:58:56 EST
Hello,
On 22/09/2025 at 17:39:38 +02, Maarten Zanders <maarten@xxxxxxxxxx> wrote:
> Commit f04ced6d545e ("mtd: nand: raw: gpmi: improve power management
> handling") moved all clock handling into PM callbacks. With CONFIG_PM
> disabled, those callbacks are missing, leaving the driver unusable.
>
> Add clock init/teardown for !CONFIG_PM builds to restore basic operation.
> Keeping the driver working without requiring CONFIG_PM is preferred over
> adding a Kconfig dependency.
>
> Fixes: f04ced6d545e ("mtd: nand: raw: gpmi: improve power management handling")
> Signed-off-by: Maarten Zanders <maarten@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
This patch does not apply on nand/next. Can you please rebase on
v6.18-rc1 when it will be out? I'll take it in a fixes PR.
Thanks,
Miquèl