Re: [PATCH] nvmem: Do not expect fixed layouts to grab a layout driver

From: Luca Ceresoli
Date: Mon Nov 27 2023 - 03:13:29 EST


Hi Miquèl,

On Fri, 24 Nov 2023 20:38:14 +0100
Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote:

> Two series lived in parallel for some time, which led to this situation:
> - The nvmem-layout container is used for dynamic layouts
> - We now expect fixed layouts to also use the nvmem-layout container but
> this does not require any additional driver, the support is built-in the
> nvmem core.
>
> Ensure we don't refuse to probe for wrong reasons.
>
> Fixes: 27f699e578b1 ("nvmem: core: add support for fixed cells *layout*")
> Cc: stable@xxxxxxxxxxxxxxx
> Reported-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

[fixes probing I2C EEPROMs using fixed-layout]
Tested-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com