mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
ASoC: mt6359: Fix refcount leak bug
[ Upstream commita8d5df69e2] In mt6359_parse_dt() and mt6359_accdet_parse_dt(), we should call of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount. Fixes:6835302853("ASoC: mt6359: fix failed to parse DT properties") Fixes:eef07b9e09("ASoC: mediatek: mt6359: add MT6359 accdet jack driver") Signed-off-by: Liang He <windhl@126.com> Link: https://lore.kernel.org/r/20220713102013.367336-1-windhl@126.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
7a63a8c253
commit
1e7fe6906e
2 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue