[PATCH] mtd: nand: raw: gpmi: fix clocks when CONFIG_PM=N

Miquel Raynal miquel.raynal at bootlin.com
Mon Sep 29 08:58:53 PDT 2025


On 29/09/2025 at 17:57:50 +02, Miquel Raynal <miquel.raynal at bootlin.com> wrote:

> 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.

Nevermind, my fault, it's applying fine.

Thanks,
Miquèl



More information about the linux-mtd mailing list