Hello,
On 19/08/2025 at 13:21:03 +02, Michael Walle mwalle@kernel.org 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@vger.kernel.org Signed-off-by: Michael Walle mwalle@kernel.org
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@bootlin.com
Thanks, Miquèl