[PATCH] ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe

Codrin.Ciubotariu at microchip.com Codrin.Ciubotariu at microchip.com
Mon Mar 7 04:52:44 PST 2022


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 at gmail.com>

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

Thanks!


More information about the linux-arm-kernel mailing list