[PATCH] mtd: nand: raw: gpmi: fix clocks when CONFIG_PM=N
Miquel Raynal
miquel.raynal at bootlin.com
Mon Sep 29 08:57:50 PDT 2025
Hello,
On 22/09/2025 at 17:39:38 +02, Maarten Zanders <maarten at zanders.be> 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 at zanders.be>
> Cc: stable at vger.kernel.org
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
More information about the linux-mtd
mailing list