Skip to content
Unverified Commit bfb735a3 authored by Liang He's avatar Liang He Committed by Mark Brown
Browse files

ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API

In eukrea_tlv320_probe(), we need to hold the reference returned
from of_find_compatible_node() which has increased the refcount
and then call of_node_put() with it when done.

Fixes: 66f23290

 ("ASoC: eukrea-tlv320: Add DT support.")
Co-authored-by: default avatarKelin Wang <wangkelin2023@163.com>
Signed-off-by: default avatarLiang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220914134354.3995587-1-windhl@126.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent fbb0ec65
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment