[PATCH] nvmem: core: fix nvmem_layout_get_match_data()

Michael Walle michael at walle.cc
Tue Jan 10 02:49:04 PST 2023


> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This function was trying to match wrong OF node (parent device's)
> against an of_match_table. It was always returning NULL.
> 
> Make it match layout's OF node against layout's of_match_table.
> 
> Fixes: f5709a684a0a ("nvmem: core: introduce NVMEM layouts")
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>

Reviewed-by: Michael Walle <michael at walle.cc>

Thanks!
-michael



More information about the linux-arm-kernel mailing list