mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
pmdomain: ti: omap_prm: Fix a reference leak on device node
[ Upstream commit44c28e1c52] When calling of_parse_phandle_with_args(), the caller is responsible to call of_node_put() to release the reference of device node. In omap_prm_domain_attach_dev, it does not release the reference. Fixes:58cbff023b("soc: ti: omap-prm: Add basic power domain support") Signed-off-by: Felix Gu <gu_0233@qq.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f14d2d1df5
commit
b339aecde9
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue