Re: [PATCH] memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe

From: Krzysztof Kozlowski
Date: Fri Mar 18 2022 - 08:53:46 EST


On 09/03/2022 12:01, Miaoqian Lin wrote:
> The device_node pointer is returned by of_parse_phandle() with refcount
> incremented. We should use of_node_put() on it when done.
>
> Fixes: 87108dc78eb8 ("memory: atmel-ebi: Enable the SMC clock if specified")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
> ---
> drivers/memory/atmel-ebi.c | 23 +++++++++++++++++------
> 1 file changed, 17 insertions(+), 6 deletions(-)
>

It's too late for upcoming cycle, so I will pick it up after the merge
window.


Best regards,
Krzysztof