On Thu, Jan 21, 2021 at 01:03:59AM -0800, Pan Bian wrote:
> Call of_node_put() to decrement the reference count of the child node
> child_np when jumping out of the loop body of
> for_each_available_child_of_node(), which is a macro that increments and
> decrements the reference count of child node. If the loop is broken, the
> reference of the child node should be dropped manually.
> 
> Fixes: 5a7c81547c1d ("memory: ti-aemif: introduce AEMIF driver")
> Signed-off-by: Pan Bian <bianpan2...@163.com>
> ---
>  drivers/memory/ti-aemif.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Thanks, applied.

Best regards,
Krzysztof

Reply via email to