lkml.org 
[lkml]   [2022]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
Date
On 07.03.2022 14:45, Miaoqian Lin wrote:
> This node pointer is returned by of_parse_phandle() with refcount
> incremented in this function.
> Calling of_node_put() to avoid the refcount leak.
>
> Fixes: 531f67e41dcd ("ASoC: at91sam9g20ek-wm8731: convert to dt support")
> Signed-off-by: Miaoqian Lin <linmq006@gmail.com>

Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>

Thanks!
\
 
 \ /
  Last update: 2022-03-07 13:53    [W:0.028 / U:1.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site