nvmem: Do not expect fixed layouts to grab a layout driver
stable inclusion from stable-v6.6.7 commit a05c646d3c7db07ba92b50463a29cefbd6a565a2 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8SSQ4 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a05c646d3c7db07ba92b50463a29cefbd6a565a2 -------------------------------- commit b7c1e53751cb3990153084f31c41f25fde3b629c upstream. 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: 27f699e5 ("nvmem: core: add support for fixed cells *layout*") Cc: stable@vger.kernel.org Reported-by:Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Tested-by:
Rafał Miłecki <rafal@milecki.pl> Tested-by:
Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by:
Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://lore.kernel.org/r/20231124193814.360552-1-miquel.raynal@bootlin.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment