Re: [PATCH v2] nvmem: layouts: fix automatic module loading
From: Miquel Raynal
Date: Sun Aug 24 2025 - 12:11:18 EST
Hello,
On 19/08/2025 at 13:21:03 +02, Michael Walle <mwalle@xxxxxxxxxx> wrote:
> To support loading of a layout module automatically the MODALIAS
> variable in the uevent is needed. Add it.
>
> Fixes: fc29fd821d9a ("nvmem: core: Rework layouts to become regular devices")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Michael Walle <mwalle@xxxxxxxxxx>
> ---
> I'm still not sure if the sysfs modalias file is required or not. It
> seems to work without it. I could't find any documentation about it.
I do not recall how this worked on my side, nor if it actually did with
the latest version (there's been a version where module loading was
requested in kernel code, and this was working well with an initamfs
IIRC), but that change sound reasonable.
Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
Thanks,
Miquèl